summaryrefslogtreecommitdiff
path: root/qemu-char.h
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2009-11-03 19:59:56 +0530
committerAnthony Liguori <aliguori@us.ibm.com>2009-11-17 08:03:31 -0600
commit127338e6107c0763a56451cc8da489349a1e82f7 (patch)
tree24c2c813a13fe92b7c6a072db32417d71c64d307 /qemu-char.h
parent57e073a3a152d0e63c3df257c60ababb19f2c13d (diff)
downloadqemu-127338e6107c0763a56451cc8da489349a1e82f7.tar.gz
char: rename qemu_chr_reset to qemu_chr_generic_open
This function sends out the OPENED event to backends that have drive the chardevs. The 'reset' is now a historical artifact and we can now just call the function for what it is. 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 b420111f7c..9957db1f58 100644
--- a/qemu-char.h
+++ b/qemu-char.h
@@ -82,7 +82,7 @@ void qemu_chr_add_handlers(CharDriverState *s,
IOEventHandler *fd_event,
void *opaque);
int qemu_chr_ioctl(CharDriverState *s, int cmd, void *arg);
-void qemu_chr_reset(CharDriverState *s);
+void qemu_chr_generic_open(CharDriverState *s);
int qemu_chr_can_read(CharDriverState *s);
void qemu_chr_read(CharDriverState *s, uint8_t *buf, int len);
int qemu_chr_get_msgfd(CharDriverState *s);