[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.