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] problem of xen PCI-passthrough

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] problem of xen PCI-passthrough
From: Mingfan Lu <mingfan.lu@xxxxxxxxx>
Date: Wed, 9 Jun 2010 00:16:23 +0800
Delivery-date: Tue, 08 Jun 2010 09:20:09 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=BCS0mHEE8hGpbfgoDZuYpcFMHPmfGGQrdmUKJ1pgLq0=; b=rjIBdNtrQe1XLuNY/O1kh4kJldjiOBQ/CFomtLGZ2kDg+oc9ytGrvTWDs1D6N9il3i p+e+bxJ/51QSI97xJcATC1fH3q+jHV5ylmJC/oZJgXk5dnrxVvW8cDNqrqdLgUfbuXM0 0OKiRlugAwnLH1tocfZ2PH9nXgK3mOPZly6c4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=fBwEXlXbksQCHVs+Jc8/CAelu7bDE4A7Ki4+YbGnx5WaFbmXx8XC5K+BgkRXF6nfKf II5+sg+5PuYq0HQGPKq4Nu7SBf3d9L9wYLf3fXR91aW0FpoMSALAIAJ+6iSRqV74sUJ+ UlNfzaFOEwGWyPmO8cJ6/NgpCzZH9qqC7UI2s=
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

Hi

 My Configuration

 Xen-4.0 + DOM0(2.6.31.13 pv) + DOMU(2.6.31.13 pv)

 The domu’s configuration is

DOMU configuration:

 

#=======xenu.conf========

kernel = "/opt/need_packages/Kernel/euca_install/images/lamp_minimal/vmlinuz-2.6.31.13"

ramdisk = "/opt/need_packages/Kernel/euca_install/images/lamp_minimal/initrd-2.6.31.13.img" #can be created by "mkinitrd"

memory = 512

vcpus=1

name = "ExampleDomainXenU"

pci=['01:00.1']

vif = [ ]

disk = [ 'file:/opt/need_packages/Kernel/euca_install/images/lamp_minimal/mini-lamp.fs,xvda1,w','file:/opt/need_packages/Kernel/euca_install/images/lamp_minimal/ephemeral,xvda2,w','file:/opt/need_packages/Kernel/euca_install/images/lamp_minimal/swap,xvda3,w' ]

root = "/dev/xvda1"

extra = "3 swiotlb=force"

 

 I have hidden the pci device to my Domu before create the instance.

 

 Checking: xm pci-list

 xm pci-list 4

domain bus  slot func

0x0000 0x01 0x00 0x1

 

 But in the domu, using lspci, I could get nothing

 In dmesg’s output, I find that:

 

[    0.055642] pci_hotplug: PCI Hot Plug PCI Core version: 0.5

[    0.057885] pcifront pci-0: backend going away!

[    0.060359] pcifront pci-0: Device is in 6 state. Need to change state on the privileged domain.

 

What happened?

Thanks 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>