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

Re: [Xen-users] problem of xen PCI-passthrough


  • To: Mingfan Lu <mingfan.lu@xxxxxxxxx>
  • From: "Sergio Charpinel Jr." <sergiocharpinel@xxxxxxxxx>
  • Date: Wed, 9 Jun 2010 09:30:32 -0300
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 09 Jun 2010 05:32:22 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=M6d36BQmaeKZkDMMafyD2klQYg1lnvM+FVS7ZSQ6YJNRLKVk0fUd+dadyMAfxbf5mw iMgL5s2gbRDke+ZNC6R1HYMIsxnwnyPPvQCHQ4qcT3+BLw2z+mA5uRtlCo9rPkXJLfDI 9oFhgeuVS2liktq+1yVpF7XqoEnD3cM0/p9jk=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

How did you hide the device? 
Try to hide it before loading the driver, eg. pciback.hide in module line in kernel boot parameter. Also try to add pciback.permissive

2010/6/8 Mingfan Lu <mingfan.lu@gmail.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



--
Sergio Roberto Charpinel Jr.
_______________________________________________
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®.