summaryrefslogtreecommitdiff
path: root/console.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-05 22:01:59 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-01-05 22:01:59 +0000
commit86e94dea5b740dad65446c857f6959eae43e0ba6 (patch)
tree7870bef3144c93a02c99751d7653d8492c1f2282 /console.c
parent8f28f3fbbe1116c5f4f11ebf4167a770032e2606 (diff)
Reinitialize monitor upon reconnect, by Anthony Liguori.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2300 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'console.c')
-rw-r--r--console.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/console.c b/console.c
index f039dfcb39..cd30235b35 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;
}