summaryrefslogtreecommitdiff
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 /console.c
parentchar: Remove special init_reset handling (diff)
downloadqemu-kvm-127338e6107c0763a56451cc8da489349a1e82f7.tar.gz
qemu-kvm-127338e6107c0763a56451cc8da489349a1e82f7.tar.bz2
qemu-kvm-127338e6107c0763a56451cc8da489349a1e82f7.zip
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 'console.c')
-rw-r--r--console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console.c b/console.c
index 9bbef593b..82ddbe4d9 100644
--- a/console.c
+++ b/console.c
@@ -1384,7 +1384,7 @@ static void text_console_do_init(CharDriverState *chr, DisplayState *ds, QemuOpt
s->t_attrib = s->t_attrib_default;
text_console_resize(s);
- qemu_chr_reset(chr);
+ qemu_chr_generic_open(chr);
if (chr->init)
chr->init(chr);
}