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

[Xen-users] problem of xen PCI-passthrough


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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