summary refs log tree commit diff stats
path: root/monitor.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2009-10-07 18:31:16 +0530
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-21 13:35:37 -0500
commitb6b8df560c4cf7de53158ae91e2c0d3cc971f01e (patch)
tree123f129747b1d0b4e5db80757594d16a438e8b80 /monitor.c
parent69795d6769910eaee4416470744e65ae066aeb54 (diff)
downloadfocaccia-qemu-b6b8df560c4cf7de53158ae91e2c0d3cc971f01e.tar.gz
focaccia-qemu-b6b8df560c4cf7de53158ae91e2c0d3cc971f01e.zip
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 'monitor.c')
-rw-r--r--monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index 3424e6010c..2566f4a1b4 100644
--- a/monitor.c
+++ b/monitor.c
@@ -3470,7 +3470,7 @@ static void monitor_event(void *opaque, int event)
         mon->mux_out = 1;
         break;
 
-    case CHR_EVENT_RESET:
+    case CHR_EVENT_OPENED:
         monitor_printf(mon, "QEMU %s monitor - type 'help' for more "
                        "information\n", QEMU_VERSION);
         if (!mon->mux_out) {