diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-10-30 09:45:17 +0000 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-10-30 09:45:17 +0000 |
commit | a75394cc817130ef7dc8d37318c73a08ac3219cc (patch) | |
tree | d28ef506258420e9273b4bef416f8b4bf025b374 /tools/ioemu/vl.c | |
parent | 8ec9ef184c8c1b75db0de6ed78a348206fc58e02 (diff) | |
download | xen-a75394cc817130ef7dc8d37318c73a08ac3219cc.tar.gz xen-a75394cc817130ef7dc8d37318c73a08ac3219cc.tar.bz2 xen-a75394cc817130ef7dc8d37318c73a08ac3219cc.zip |
[HVM] Fix Qemu-dm serial issues:
1. Retry transmit via a polling timer if a byte cannot be written
immediately to its destination.
2. Turn off output processing of raw serial lines.
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/ioemu/vl.c')
-rw-r--r-- | tools/ioemu/vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/ioemu/vl.c b/tools/ioemu/vl.c index e331abd1ae..fafb325835 100644 --- a/tools/ioemu/vl.c +++ b/tools/ioemu/vl.c @@ -1684,7 +1684,7 @@ static void tty_serial_init(int fd, int speed, tty.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP |INLCR|IGNCR|ICRNL|IXON); - tty.c_oflag |= OPOST; + tty.c_oflag &= ~OPOST; /* no output mangling of raw serial stream */ tty.c_lflag &= ~(ECHO|ECHONL|ICANON|IEXTEN|ISIG); tty.c_cflag &= ~(CSIZE|PARENB|PARODD|CRTSCTS); switch(data_bits) { |