aboutsummaryrefslogtreecommitdiff
path: root/hw
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 /hw
parent57e073a3a152d0e63c3df257c60ababb19f2c13d (diff)
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 'hw')
-rw-r--r--hw/baum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/baum.c b/hw/baum.c
index 8a12985057..fa356ec483 100644
--- a/hw/baum.c
+++ b/hw/baum.c
@@ -614,7 +614,7 @@ CharDriverState *chr_baum_init(QemuOpts *opts)
qemu_set_fd_handler(baum->brlapi_fd, baum_chr_read, NULL, baum);
- qemu_chr_reset(chr);
+ qemu_chr_generic_open(chr);
return chr;