WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] PCI pass through issue

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] PCI pass through issue
From: "Zhiqiang Huang" <hzqtc@xxxxxxxxxxx>
Date: Tue, 19 Apr 2011 12:30:04 +0800
Delivery-date: Mon, 18 Apr 2011 22:47:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acv+SAv/qz+aLLq8S7WD2yXYFZcEJw==

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

Attachment: config
Description: Binary data

Attachment: VM_NEW.hvm
Description: Binary data

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] PCI pass through issue, Zhiqiang Huang <=