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] LPT configuration for the DomU

To: "sergey kostanbaev" <sergey.kostanbaev@xxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] LPT configuration for the DomU
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Wed, 12 Aug 2009 21:36:56 +1000
Cc:
Delivery-date: Wed, 12 Aug 2009 04:37:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <164ba660908120327u62bbe257v454041e33d5e721d@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <164ba660908120327u62bbe257v454041e33d5e721d@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcobN7dK+f5aixE8T3+EzMp0A+8pbAACIrBA
Thread-topic: [Xen-users] LPT configuration for the DomU
> Hello everybody!
> 
> Do you know how to pass physical LPT port to the DomU?
> 
> I found some information about ioports=[''] but it seems it works only
if the
> port range is the same on the host and VM. My motheboard hasn't any
LPT so I
> use PCI board. Using such board lead to different IO range.
> 
> 05:01.0 Communication controller: NetMos Technology PCI 9855 Multi-I/O
> Controller (rev 01)
>     Subsystem: LSI Logic / Symbios Logic Device 0014
>     Flags: medium devsel, IRQ 22
>     I/O ports at ec00 [size=8]
>     I/O ports at e880 [size=8]
>     I/O ports at e800 [size=8]
>     I/O ports at e480 [size=8]
>     I/O ports at e400 [size=8]
>     I/O ports at e080 [size=16]
> 
> Does anybody know how to tell Xen using e080 host io for the 03bc vm
io

I guess you can't just pass the whole pci device through as you only
want a single port right?

The problem is that the i/o ports are only supposed to be touched by the
driver attached to the device, which isn't going to work (and indeed the
ports could be remapped etc as other devices are added and removed).

Can you use a USB to LPT adapter and just pass through the usb device
and make the DomU HVM?

Failing that, you should still be able to just pass through the i/o
ports 1:1 and tell the guest operating system (Linux?) to probe an lpt
port at the specified address (modinfo parport_pc to find the
parameters), which should work assuming the I/O ports are actually
compatible, although is certainly not recommended for reasons already
discussed.

James

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

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