Restore terminal monitor attributes - addition
commitd3f822d241d673103046a07874f8a3f37d1cb41b
authorShahar Havivi <shaharh@redhat.com>
Sun, 14 Mar 2010 20:41:15 +0000 (14 22:41 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 31 Mar 2010 16:17:29 +0000 (31 11:17 -0500)
tree17e826d53dcda3dfd67c948a93a5365a198cdada
parentc81131db15dd1844d0db1d51f3cd7a105cfd2cf3
Restore terminal monitor attributes - addition

Patch 2d753894c7553d6a05e8fdbed5f4704398919a35 was missing this check,
when running monitor as /dev/tty and other serial device, i.e:
  qemu -monitor /dev/tty -serial /dev/pts/1

Without this patch any serial device will override the monitor stored
attributes. (monitor is called in main() before any serial device).

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