|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] problem of xen PCI-passthrough
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
|
|
|
|
|