[libvirt] More then one pci device possible with libvirt and pci passthrough?

Mirko Raasch Mirko76 at serv4u.de
Sun Jun 28 15:46:51 UTC 2009


Hi,

i want to use more then one pci card in my debian guest.

But when i start the guest, the log says:

  libvirtd: 15:44:55.459: warning : pciTrySecondaryBusReset:483 : Other
devices on bus with 0000:05:01.0, not doing bus reset

With "/usr/bin/qemu-system-x86_64 -m 512 -name test -hda
/media/vm/test.img -boot c -vnc :2 -k de -pcidevice host=05:01.0
-pcidevice host=05:02.0 -pcidevice host=05:03.0" there seems to be no
problems.

How can i start my guest with three pci devices passed through and libvirt?

My hostdev section in the xml looks like this:

<hostdev mode='subsystem' type='pci' managed='yes'>
       <source>
         <address domain='0x0000' bus='0x05' slot='0x01' function='0x0'/>
       </source>
     </hostdev>
     <hostdev mode='subsystem' type='pci' managed='yes'>
       <source>
         <address domain='0x0000' bus='0x05' slot='0x02' function='0x0'/>
       </source>
     </hostdev>
     <hostdev mode='subsystem' type='pci' managed='yes'>
       <source>
         <address domain='0x0000' bus='0x05' slot='0x03' function='0x0'/>
       </source>
     </hostdev>


Greetings
Mirko




More information about the libvir-list mailing list