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

xen pci passthrough 2.6.26.2



hi,

i cant hide pci devices in dom0. i boot my dom0 simply with 
pciback.hide=(00:11.5), but this device is allways visible. also i cant 
passtrough this to domU - no errors but invisible in domU.

in this case the 00:11.5 is a onboard soundcard on a testmachine. later i want 
passtrough a isdn card on a productive machine with the same setup.

on dom0 i see:

marc@music:~$ dmesg |grep -i 00:11.5
[    0.000000] Kernel command line: root=/dev/hda1 ro console=tty0,115200 
console=ttyS0,115200 pciback.permissive pciback.hide=(00:11.5)(00:08.0)
[    1.529588] pciback 0000:00:11.5: seizing device
[    1.776802] ACPI: PCI Interrupt 0000:00:11.5[C] -> Link [ALKC] -> GSI 22 
(level, low) -> IRQ 22
[    1.785561] ACPI: PCI interrupt for device 0000:00:11.5 disabled

marc@music:~$ lspci |grep -i 00:11.5
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 
AC97 Audio Controller (rev 60)

xend.log:

marc@music:~$ sudo grep -i pci /var/log/xen/xend.log |grep 16:09
[2009-08-14 16:09:31 3174] DEBUG (XendDomainInfo:84) 
XendDomainInfo.create(['vm', ['name', 'ubuntu-domU'], ['memory', 512], 
['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], 
['bootloader', '/usr/lib/xen-3.2-1/bin/pygrub'], 
['bootloader_args', ''], ['image', ['linux']], ['device', ['vbd', ['uname', 
'file:/home/root/ubuntu.hdd.img'], ['dev', 'sda1'], ['mode', 'w']]], ['device', 
['pci', ['dev', ['domain', '0x0'], ['bus', '0x00'], ['slot', '0x11'], ['func', 
'0x5']]]], ['device', ['vif', ['mac', 
'00:16:3E:4A:A9:68']]]])
[2009-08-14 16:09:35 3174] INFO (XendDomainInfo:1514) createDevice: pci : 
{'devs': [{'slot': '0x11', 'bus': '0x00', 'domain': '0x0', 'func': '0x5'}], 
'uuid': 'e978c6c0-6337-86af-8174-9211413919c8'}
[2009-08-14 16:09:35 3174] INFO (pciquirk:90) NO quirks found for PCI device 
[1106:3059:1462:b010]
[2009-08-14 16:09:35 3174] DEBUG (pciquirk:132) Permissive mode NOT enabled 
for PCI device [1106:3059:1462:b010]
[2009-08-14 16:09:35 3174] DEBUG (pciif:153) pci: enabling ioport 0xef00/0x100
[2009-08-14 16:09:35 3174] DEBUG (pciif:177) pci: enabling irq 22
[2009-08-14 16:09:35 3174] DEBUG (DevController:118) DevController: writing 
{'protocol': 'x86_32-abi', 'state': '1', 'backend-id': '0', 'backend': 
'/local/domain/0/backend/pci/2/0'} to /local/domain/2/device/pci/0.
[2009-08-14 16:09:35 3174] DEBUG (DevController:120) DevController: writing 
{'domain': 'ubuntu-domU', 'frontend': '/local/domain/2/device/pci/0', 'uuid': 
'e978c6c0-6337-86af-8174-9211413919c8', 'dev-0': '0000:00:11.05', 'state': 
'1', 'online': '1', 'frontend-
id': '2', 'num_devs': '1'} to /local/domain/0/backend/pci/2/0.
[2009-08-14 16:09:36 3174] DEBUG (DevController:151) Waiting for devices pci.


marc@music:~$ uname -srvo
Linux 2.6.26-2-xen-686 #1 SMP Mon May 11 21:51:55 UTC 2009 GNU/Linux
marc@music:~$ cat /etc/*version
5.0.1


any idias?

thx marc


Reply to: