Hi,
I am testing the PCI passthrough feature by using xen-unstable and Intel DQ35JO motherboard.
The passthrough seems not working. The PCI devices I want to hide still shows up in lspci. The HVM
creation failed with the following message:
VmError: Fail to assign device(0:1a.7): maybe VT-d is not enabled, or the device is not exist, or it has already been assigned to other domain
I have complied the PCI backend driver into Dom0 kernel and also turn on the PCI backend debug option.
The VT-d option in BIOS is enabled.
Following are my grub.config, hvm, and pciback debug output.
In grub.config:
title Xen 3.2 unstable root (hd0,0) kernel /boot/xen-3.2.gz console=vga module /boot/vmlinuz-2.6.18.8-xen ro root=LABEL=/ rhgb quiet pciback.permissive pciback.hide=(00:1a.7)(00:1d.7
) module /boot/initrd-2.6.18.8-xen.img
In hvm file I add:
pci = ['00:1a.7']
Here is the dmesg | grep pciback:
Bootdata ok (command line is ro root=LABEL=/ rhgb quiet pciback.permissive pciback.hide=(00:1a.7)(00:1d.7)) Kernel command line: ro root=LABEL=/ rhgb quiet pciback.permissive pciback.hide=(00:1a.7)(00:1d.7) Unknown boot option `pciback.permissive': ignoring
pciback: wants to seize 0000:00:1a.7 pciback: wants to seize 0000:00:1d.7 pciback 0000:00:00.0: probing... pciback 0000:00:02.0: probing... pciback 0000:00:02.1: probing... pciback 0000:00:03.0: probing...
pciback 0000:00:03.2: probing... pciback 0000:00:03.3: probing... pciback 0000:00:19.0: probing... pciback 0000:00:1a.0: probing... pciback 0000:00:1a.1: probing... pciback 0000:00:1a.2: probing... pciback 0000:00:
1a.7: probing... pciback 0000:00:1a.7: seizing device pciback 0000:00:1a.7: pcistub_device_alloc pciback 0000:00:1a.7: deferring initialization pciback 0000:00:1b.0: probing... pciback 0000:00:1c.0: probing...
pciback 0000:00:1c.1: probing... pciback 0000:00:1c.2: probing... pciback 0000:00:1c.3: probing... pciback 0000:00:1c.4: probing... pciback 0000:00:1d.0: probing... pciback 0000:00:1d.1: probing... pciback 0000:00:
1d.2: probing... pciback 0000:00:1d.7: probing... pciback 0000:00:1d.7: seizing device pciback 0000:00:1d.7: pcistub_device_alloc pciback 0000:00:1d.7: deferring initialization pciback 0000:00:1e.0: probing...
pciback 0000:00:1f.0: probing... pciback 0000:00:1f.2: probing... pciback 0000:00:1f.3: probing... pciback 0000:00:1f.5: probing... pciback 0000:03:00.0: probing... pciback 0000:06:03.0: probing... pciback: pcistub_init_devices_late
pciback 0000:00:1d.7: initializing... pciback 0000:00:1d.7: initializing config pciback 0000:00:1d.7: initializing virtual configuration space pciback 0000:00:1d.7: added config field at offset 0x04 pciback 0000:00:
1d.7: added config field at offset 0x3c pciback 0000:00:1d.7: added config field at offset 0x3d pciback 0000:00:1d.7: added config field at offset 0x0c pciback 0000:00:1d.7: added config field at offset 0x0d pciback 0000:00:
1d.7: added config field at offset 0x0f pciback 0000:00:1d.7: added config field at offset 0x10 pciback 0000:00:1d.7: added config field at offset 0x14 pciback 0000:00:1d.7: added config field at offset 0x18 pciback 0000:00:
1d.7: added config field at offset 0x1c pciback 0000:00:1d.7: added config field at offset 0x20 pciback 0000:00:1d.7: added config field at offset 0x24 pciback 0000:00:1d.7: added config field at offset 0x30 pciback 0000:00:
1d.7: Found capability 0x1 at 0x50 pciback 0000:00:1d.7: added config field at offset 0x50 pciback 0000:00:1d.7: added config field at offset 0x52 pciback 0000:00:1d.7: added config field at offset 0x54 pciback 0000:00:
1d.7: added config field at offset 0x56 pciback 0000:00:1d.7: added config field at offset 0x57 pciback 0000:00:1d.7: enabling device pciback 0000:00:1d.7: reset device pciback 0000:00:1a.7: initializing...
pciback 0000:00:1a.7: initializing config pciback 0000:00:1a.7: initializing virtual configuration space pciback 0000:00:1a.7: added config field at offset 0x04 pciback 0000:00:1a.7: added config field at offset 0x3c
pciback 0000:00:1a.7: added config field at offset 0x3d pciback 0000:00:1a.7: added config field at offset 0x0c pciback 0000:00:1a.7: added config field at offset 0x0d pciback 0000:00:1a.7: added config field at offset 0x0f
pciback 0000:00:1a.7: added config field at offset 0x10 pciback 0000:00:1a.7: added config field at offset 0x14 pciback 0000:00:1a.7: added config field at offset 0x18 pciback 0000:00:1a.7: added config field at offset 0x1c
pciback 0000:00:1a.7: added config field at offset 0x20 pciback 0000:00:1a.7: added config field at offset 0x24 pciback 0000:00:1a.7: added config field at offset 0x30 pciback 0000:00:1a.7: Found capability 0x1 at 0x50
pciback 0000:00:1a.7: added config field at offset 0x50 pciback 0000:00:1a.7: added config field at offset 0x52 pciback 0000:00:1a.7: added config field at offset 0x54 pciback 0000:00:1a.7: added config field at offset 0x56
pciback 0000:00:1a.7: added config field at offset 0x57 pciback 0000:00:1a.7: enabling device pciback 0000:00:1a.7: reset device
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|