Hi, all
I''m trying SRIOV with Xen but failed to pass through virtual function
of
SRIOV to dom-U.
My platform:
Xen-unstable 4.2
Pvops Dom-0 kernel 2.6.32.35
CentOS 5.4 Dom-0
CentOS 5.4 HVM Dom-U
And follow VtdHowto wiki page, my steps are:
First, bind the virtual function to pci-stub. After that, check the
assignable virtual function devices:
[root@localhost ~]# xm pci-list-assignable-devices
0000:07:10.0
0000:07:10.1
Next, attach virtual function to dom-U using device hot-plug:
[root@localhost ~]# xm pci-attach VM2 07:10.0
Error: Timed out waiting for device model action
Usage: xm pci-attach [-o|--options=<opt>] <Domain>
<domain:bus:slot.func>
[virtual slot]
Insert a new pass-through pci device.
And get different error message when repeating the command:
[root@localhost ~]# xm pci-attach VM2 07:10.0
Error: Failed to assign device to IOMMU
(0000:07:10.0@100,msitranslate=1,power_mgmt=0)
Usage: xm pci-attach [-o|--options=<opt>] <Domain>
<domain:bus:slot.func>
[virtual slot]
Insert a new pass-through pci device.
And I notice the ''xm dmesg'' contains the following lines:
(XEN) Intel VT-d Snoop Control enabled.
(XEN) Intel VT-d Dom0 DMA Passthrough not enabled.
(XEN) Intel VT-d Queued Invalidation enabled.
(XEN) Intel VT-d Interrupt Remapping enabled.
(XEN) I/O virtualisation enabled
Can anyone help me with this issue? The HVM config file and dom-0 kernel
config file are in the attachments. Check them out. J
Thanks,
Zhiqiang
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users