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

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

To: Mingfan Lu <mingfan.lu@xxxxxxxxx>
Subject: Re: [Xen-users] problem of xen PCI-passthrough
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=z8a+xrhMYeI2UFw9L3rbIufm/NeAyfjKK2cP41ucV3Q=; b=J168uo8HTV5TaGnSoFJDBa6yxSuMTbLbVkPIZt7R16B17DduaUbHQze5iPL2iMVPBv +seqHBqkHkb6CJlJez6s/hHGXGeRLNEGpYDkftWgkNR2msf44hSMc1bkKh6JbEieDQIW AnI1A+p++yPSBD9aF89ELpAOms2i6zEirSXz0=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTilplgNWpAK4y8gNqVU8MYW_aKr-ayu4D3NwKfno@xxxxxxxxxxxxxx>
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>
References: <AANLkTilplgNWpAK4y8gNqVU8MYW_aKr-ayu4D3NwKfno@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>