Skip to contentSkip to conversation

Questions about PCI passthrough on Xen 4.0

DISCUSSION Song Xiang 3 participants 3 messages Apr 6, 2011

lore
Share & tools
lore

Song Xiang

author
#0 lore raw

I have set up Xen 4.0.0 on an AMD machine with 2*12core. (AMD Opteron(tm) Processor 6168)

But when I try to use PCI passthrough to pass an NIC to my HVM, the HVM can successfully seen the NIC, but it can not use it!!. (I have enable the DMA virtualization option of the AMD chip)

And, the machine will announce a "Power cycle AC" error when I enable the "DMA virtualization" in BIOS.

It there anything wrong with this kind of chip?

#1 lore raw
Quoted 9 lines · Song Xiang

I have set up Xen 4.0.0 on an AMD machine with 2*12core. (AMD Opteron(tm) Processor 6168)

But when I try to use PCI passthrough to pass an NIC to my HVM, the HVM can successfully seen the NIC, but it can not use it!!. (I have enable the DMA virtualization option of the AMD chip)

And, the machine will announce a "Power cycle AC" error when I enable the "DMA virtualization" in BIOS.

Wait a minute. You enable the option in the BIOS and the machine power cycles you? That sounds like the BIOS is busted.

Quoted 2 lines

It there anything wrong with this kind of chip?

More like your BIOS.

#2 lore raw

As indicated by Konrad, if enabling IOMMU in BIOS will cause power cycle, it would be a BIOS bug then. Your description wasn't very clear. If you saw NIC been passthru to VM, when did "power cycle" happen? Maybe you can give us more details:

1. Machine vendor, BIOS vendor/version
2. Logs (xm dmesg after passthru)

Thanks,
-Wei

Quoted 21 lines · Konrad Rzeszutek Wilk
Quoted 9 lines · Song Xiang

I have set up Xen 4.0.0 on an AMD machine with 2*12core. (AMD Opteron(tm) Processor 6168)

But when I try to use PCI passthrough to pass an NIC to my HVM, the HVM can successfully seen the NIC, but it can not use it!!. (I have enable the DMA virtualization option of the AMD chip)

And, the machine will announce a "Power cycle AC" error when I enable the "DMA virtualization" in BIOS.

Wait a minute. You enable the option in the BIOS and the machine power cycles you? That sounds like the BIOS is busted.

Quoted 1 line

It there anything wrong with this kind of chip?

More like your BIOS.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel