diff options
author | Amit Shah <amit.shah@redhat.com> | 2009-10-07 18:31:16 +0530 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-21 13:35:37 -0500 |
commit | b6b8df560c4cf7de53158ae91e2c0d3cc971f01e (patch) | |
tree | 123f129747b1d0b4e5db80757594d16a438e8b80 /qemu-char.c | |
parent | 69795d6769910eaee4416470744e65ae066aeb54 (diff) |
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>
Diffstat (limited to 'qemu-char.c')
-rw-r--r-- | qemu-char.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-char.c b/qemu-char.c index 8f7f81ca54..4757689993 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -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; } |