Hi- The serial routines do not set the proper termios flags for the serial port so that data can pass unmolested from the emulated environment to the host serial device. This simple patch fixes that. Tested on a FreeBSD 6.2 host with Windows XP as the emulated OS.
--- Zach --- /usr/ports/emulators/qemu/work/qemu-0.8.2/vl.c Tue Sep 19 16:06:35 2006 +++ vl.c Tue Sep 19 16:43:38 2006 @@ -1591,8 +1591,8 @@ cfsetospeed(&tty, spd); tty.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP - |INLCR|IGNCR|ICRNL|IXON); - tty.c_oflag |= OPOST; + |INLCR|IGNCR|ICRNL|IXON|IMAXBEL); + tty.c_oflag &= ~OPOST; /* Don't do any output processing! */ tty.c_lflag &= ~(ECHO|ECHONL|ICANON|IEXTEN|ISIG); tty.c_cflag &= ~(CSIZE|PARENB|PARODD|CRTSCTS); switch(data_bits) { _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel