[libvirt] Problem with libvirt and pci passthrough

Mark McLoughlin markmc at redhat.com
Thu Jul 16 11:52:08 UTC 2009


On Thu, 2009-07-16 at 13:20 +0200, Mirko Raasch wrote:
> On Thu, 2009-07-16 at 11:06 +0200, Mirko Raasch wrote:
> >> Hi,
> >>
> >> i´m still having problem with libvirt and pci passthrough, if i use more
> >> then one pci card in the guest.
> >>
> >> If i start qemu 0.10.5 manualy, i can use all of the pci devices in the
> >> guest, here is the log: http://nopaste.info/610fa81fb5.html
> >>
> >> If i use libvirt to start the guest and passthrough three pci device,
> >> none of the device is usable in the guest:
> >> http://nopaste.info/ccfbfcf9a0.html
> >>     
> >
> > What does /var/log/libvirt/qemu/vdr.log say?
> >
> > Cheers,
> > Mark.
> >
> >   
> 
> The log says:
> 
> LC_ALL=C 
> PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin 
> HOME=/root USER=root LOGNAME=root /usr/bin/qemu-system-x86_64 -S -M pc 
> -m 512 -smp 1 -name vdr -uuid 87e7c782-73c4-c0e0-2396-8514b3701a4a 
> -monitor pty -localtime -boot c -drive 
> file=/media/vm/vdr.img,if=ide,index=0,boot=on -net 
> nic,macaddr=54:52:00:49:d0:64,vlan=0,model=virtio -net tap,fd=15,vlan=0 
> -serial pty -parallel none -usb -vnc 0.0.0.0:2 -k de -pcidevice 
> host=05:00.0 -pcidevice host=05:01.0 -pcidevice host=05:02.0
> char device redirected to /dev/pts/1
> char device redirected to /dev/pts/2

It looks like libvirt is doing its job correctly.

Try with managed='no' perhaps?

Cheers,
Mark.




More information about the libvir-list mailing list