summaryrefslogtreecommitdiff
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
parentConfigure check for alsa, by Bernhard Fischer. (diff)
downloadqemu-kvm-86e94dea5b740dad65446c857f6959eae43e0ba6.tar.gz
qemu-kvm-86e94dea5b740dad65446c857f6959eae43e0ba6.tar.bz2
qemu-kvm-86e94dea5b740dad65446c857f6959eae43e0ba6.zip
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 f039dfcb3..cd30235b3 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;
}