WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] How to Export COM port to guest domain

To: Nick Couchman <Nick.Couchman@xxxxxxxxx>, Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] How to Export COM port to guest domain
From: "Jefferson E. Noxon" <jeff@xxxxxxxxxxxxxx>
Date: Thu, 15 May 2008 16:14:49 -0500
Delivery-date: Thu, 15 May 2008 14:15:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <482C4E59.87A6.0099.1@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Openpgp: id=5E4D6A46
References: <482C4E59.87A6.0099.1@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080421 Thunderbird/2.0.0.14 ThunderBrowse/3.2.1.3.1 Mnenhy/0.7.5.666
Nick Couchman wrote:
I don't think it's quite this hard. For a Linux domU, here are the lines I add to export the com port to my domU:

irq=[ 4 ]

ioports=[ "3f8-3ff" ]

The original post was asking about fully virtualized guests. I believe this suggestion only works for PV guests.

For the Windows HVM domU end of things, it's been a while since I did it, but I'm pretty sure just adding the following got me the necessary access to the com port:

serial="/dev/ttyS0"

I think that may actually work. I remember having a conversation with someone else about this now. My device manager does indeed show COM1, which according to QEMU is redirected to /dev/ttyS0.

Now I just need several more COM ports, and I'm in business.

My servers don't support VT-d and I'm not running Xen 3.2. As far as USB devices go, I'm not sure, but my example domU files have things like "usbdevice='xxx'" - I'm not sure what types of USB devices you can push through, maybe just the default mouse and tablet support.

There is currently no support in Xen for passing USB devices to fully-virtualized guests. With VT-d you can pass an entire controller. And of course, even without VT-d you can pass a USB controller to a PV guest.

Regards,

Jeff

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>