From 86e94dea5b740dad65446c857f6959eae43e0ba6 Mon Sep 17 00:00:00 2001 From: ths Date: Fri, 5 Jan 2007 22:01:59 +0000 Subject: Reinitialize monitor upon reconnect, by Anthony Liguori. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2300 c046a42c-6fe2-441c-8c8c-71466251a162 --- console.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'console.c') diff --git a/console.c b/console.c index f039dfc..cd30235 100644 --- a/console.c +++ b/console.c @@ -1086,5 +1086,7 @@ CharDriverState *text_console_init(DisplayState *ds) s->t_attrib = s->t_attrib_default; text_console_resize(s); + qemu_chr_reset(chr); + return chr; } -- cgit v1.1