]> git.proxmox.com Git - qemu.git/commit
Restore terminal attributes for tty based monitor
authorShahar Havivi <shaharh@redhat.com>
Fri, 26 Feb 2010 09:34:59 +0000 (11:34 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 9 Mar 2010 14:47:27 +0000 (08:47 -0600)
commit2d753894c7553d6a05e8fdbed5f4704398919a35
treed48f0452c9e0bd5ccd240fbdb7379135c878cca5
parent7ffb82ca6e13feeb37b86a8223da691eff5ee922
Restore terminal attributes for tty based monitor

Patch http://permalink.gmane.org/gmane.comp.emulators.qemu/63472 handle
close when using tty devices (like /dev/ttyS0),
yet tty based monitor are not restoring terminal attributes (as done
with stdio based monitor), when closing qemu after that command:
$ qemu -monitor /dev/tty
the terminal is not responding until you write reset (blindly),
this patch fix it

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
qemu-char.c