[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] Qemu serial patch
Original Qemu serial.c uses non-waiting write. If it's bound to a physical serial port, there are chances that write need to wait for a while. In this occasion, the characters are lost. This patch adds an up to 100ms wait for write. In addition, it turns off output processing. Currently we can debug HVM Windows with windbg running on another machine. To do so, 1) Serial driver in xen0 must be enabled 2) Add serial='/dev/ttySX" (ttySX is a physical device name registered by serial driver) in HVM configure file 3) Add xencons=ttySY (ttySY is a pseudo device name, say ttyS8, other than any serial device name) in grub. Otherwise, Xen virtual console will try to register ttyS1 by default which is grubbed by serial drivers and fail. 4) Add debug options (e.g. /debug /debugport=COM1 /baudrate=57600) in HVM Windows' boot.ini. Thanks, Xiaowei Attachment:
serial_enabled.patch Attachment:
serial.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |