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: <xen-users@xxxxxxxxxxxxxxxxxxx>, "Jefferson E. Noxon" <jeff@xxxxxxxxxxxxxx>
Subject: Re: [Xen-users] How to Export COM port to guest domain
From: "Nick Couchman" <Nick.Couchman@xxxxxxxxx>
Date: Thu, 15 May 2008 14:53:13 -0600
Delivery-date: Thu, 15 May 2008 13:53:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx

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" ]


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"


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.


-Nick

>>> On Thu, May 15, 2008 at 12:59 PM, "Jefferson E. Noxon" <jeff@xxxxxxxxxxxxxx> wrote:

I've run into the same problem, except that I need to provide serial
ports to a fully virtualized Windows guest.

This is my understanding:

You need Xen 3.2+, VT-d capable hardware, and PCI passthrough, and
probably a PCI-e serial adapter or a PCI-e USB adapter with a USB to
Serial dongle.  VT-d won't let you pass through a legacy (non-Express)
PCI device without passing all of your other legacy PCI devices behind
the same bridge.

It's a shame that it isn't possible to pass USB or Serial devices
without VT-d.

I plan to get a PCI-e USB controller and a VT-d capable motherboard soon.

I hope someone proves me wrong!

Johnson, Tony M wrote:
> Greetings,
>
> Using Xen 3.1 and Fedora 7, is it possible to export the serial
> interface such that I can access
> external devices on COM1 or COM2?
>
> I am uncertain if PCI pass-thru is needed or if there's nothing to
> configure for this to work in
> a fully virtualized Linux guest.
>
> Any help would be greatly appreciated.
>
> Regards,
> Tony Johnson
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users



This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>