mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
char: rename CHR_EVENT_RESET to CHR_EVENT_OPENED
The char event RESET is emitted when a char device is opened. Give it a better name. Patchworks-ID: 35287 Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
69795d6769
commit
b6b8df560c
6 changed files with 6 additions and 6 deletions
|
|
@ -119,7 +119,7 @@ static void qemu_chr_event(CharDriverState *s, int event)
|
|||
static void qemu_chr_reset_bh(void *opaque)
|
||||
{
|
||||
CharDriverState *s = opaque;
|
||||
qemu_chr_event(s, CHR_EVENT_RESET);
|
||||
qemu_chr_event(s, CHR_EVENT_OPENED);
|
||||
qemu_bh_delete(s->bh);
|
||||
s->bh = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue