aboutsummaryrefslogtreecommitdiff
path: root/qemu-char.h
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 /qemu-char.h
parent69795d6769910eaee4416470744e65ae066aeb54 (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.h')
-rw-r--r--qemu-char.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-char.h b/qemu-char.h
index c0654bca25..05fe15d8cd 100644
--- a/qemu-char.h
+++ b/qemu-char.h
@@ -10,7 +10,7 @@
#define CHR_EVENT_BREAK 0 /* serial break char */
#define CHR_EVENT_FOCUS 1 /* focus to this terminal (modal input needed) */
-#define CHR_EVENT_RESET 2 /* new connection established */
+#define CHR_EVENT_OPENED 2 /* new connection established */
#define CHR_EVENT_MUX_IN 3 /* mux-focus was set to this terminal */
#define CHR_EVENT_MUX_OUT 4 /* mux-focus will move on */
#define CHR_EVENT_CLOSED 5 /* connection closed */