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

[Xen-devel] AMD iommu , pci passthrough problems assigning devices to HVM



Hi,

I'm running a machine with:
- Hypervisor: xen-unstable
- Dom0: xen/next-2.6.32.17  commit c3f5aba942c7516a5c76c47345ff0a473daf2542

Hardware:
-MSI 890FXA-GD70 with AMD IOMMU
-Phenom X6

I'm trying to do PCI passthrough to a HVM, this fails with:

Error: Failed to assign device to IOMMU 
(0000:04:00.0@100,msitranslate=1,power_mgmt=0)
Error: pci: to avoid potential security issue, 0000:08:00.0 is not allowed to 
be assigned to guest since it is behind PCIe switch that does not support or 
enable ACS.


I have found this thread https://bugzilla.redhat.com/show_bug.cgi?id=526713 
regarding the ACS problem, which says the pci bridges need these capabilities:
        ScrValid+, ReqRedir+, CmpltRedir+, and UpstreamFwd+  

When i do a lspci -vvv on my system i see these capabilities, but i do see some 
disturbing debug message on boot when amd_iommu_debug is on.

Attached:
- xm info
- xm dmesg (booted with amd_iommu_debug on)
- dmesg
- lspci -vvv

--
Sander

Attachment: dmesg.txt
Description: Text document

Attachment: lspci.txt
Description: Text document

Attachment: lspci-tree.txt
Description: Text document

Attachment: xm-dmesg.txt
Description: Text document

Attachment: xm-info.txt
Description: Text document

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

 


Rackspace

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