This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-devel] [PATCH] Qemu serial patch

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Qemu serial patch
From: "Yang, Xiaowei" <xiaowei.yang@xxxxxxxxx>
Date: Wed, 20 Sep 2006 16:14:43 +0800
Cc: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Delivery-date: Wed, 20 Sep 2006 01:16:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbcjNMapVSa1WgARTaJFcfhrmJz1Q==
Thread-topic: [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.


Attachment: serial_enabled.patch
Description: serial_enabled.patch

Attachment: serial.patch
Description: serial.patch

Xen-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>