From 127338e6107c0763a56451cc8da489349a1e82f7 Mon Sep 17 00:00:00 2001 From: Amit Shah Date: Tue, 3 Nov 2009 19:59:56 +0530 Subject: 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 Signed-off-by: Anthony Liguori --- console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'console.c') diff --git a/console.c b/console.c index 9bbef593b9..82ddbe4d91 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); } -- cgit v1.2.3