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-users] DomU can't access PCI Parallel port (was SVM not detected on

To: <djmagee@xxxxxxxxxxxx>
Subject: [Xen-users] DomU can't access PCI Parallel port (was SVM not detected on Opteron 1220)
From: "Brian P. Martin" <Brian@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 28 Jul 2009 21:31:17 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 28 Jul 2009 21:33:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <0511662A905F904FB91411FF69F1052B48F85F@xxxxxxxxxxxxxxxxxxxxxxx>
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: <000901ca0ee6$1213b9b0$363b2d10$@com><0511662A905F904FB91411FF69F1052B48F853@xxxxxxxxxxxxxxxxxxxxxxx> <003b01ca0efc$7b399840$71acc8c0$@com> <0511662A905F904FB91411FF69F1052B48F85F@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcoO5hG0ek+2x6ULTwqlt2XLATjNjQAEHYrgAAFOa6AAH9GiUAAibXYA

> Your DomUs will only see the emulated hardware.  To see your real
> hardware inside a DomU you will have to pass it through.  Without the
> appropriate hardware, you'll only be able to pass-through hardware to a
> PV guest.  Since you're on AMD, I'm going to have to assume you don't
> have IOMMU hardware, as they haven't sold any yet that I know.  Google
> searches for the right keywords will reveal more than enough info you
> can piece together to achieve this, but here's a short summary:
> Make sure pciback is available in your Dom0 kernel (either built-in or
> as a module).
> Identify PCI device you want to hide, likely using lspci
> If pciback is builtin, then you'd have to add a 'pciback.hide=(...)' to
> the Dom0 kernel line in grub and restart
> Otherwise, you can hide the device after startup as described here:
> http://wiki.xensource.com/xenwiki/Assign_hardware_to_DomU_with_PCIBack_
> a
> s_module
> Assign the device to your DomU with a pci = [ '...' ] line the domain's
> configuration file
> I don't have any experience with PV passthrough, but it should be
> easier, though less stable/secure than HVM passthrough.  Also, lately,
> xen pci pass-through development has focused mostly on iommu backed
> passthrough, and I've read messages suggesting there are more
> restrictions to pv passthrough in more recent versions of xen.

Thanks for the great summary.  I've already been through this, but your list
helped me check my work.  DomU still seems to know that the device is there,
but can't talk to it.  In addition to the pci= statement, do I need to map
IOPORTs and/or IRQs? 


Xen-users mailing list