Can't get PCI passthrough working

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

 



I'm trying to get PCI passthrough working by passing through a DVB-T TV card to a VM running MythTV. When I assign the PCI devices in virt-manager and attempt to start the VM I get this error:

Error starting domain: internal error: process exited while connecting to monitor: 2015-09-06T12:41:09.725990Z qemu-kvm: -device vfio-pci,host=05:02.0,id=hostdev0,bus=pci.0,addr=0x9: vfio: error, group 11 is not viable, please ensure all devices within the iommu_group are bound to their vfio bus driver.
2015-09-06T12:41:09.726034Z qemu-kvm: -device vfio-pci,host=05:02.0,id=hostdev0,bus=pci.0,addr=0x9: vfio: failed to get group 11
2015-09-06T12:41:09.726049Z qemu-kvm: -device vfio-pci,host=05:02.0,id=hostdev0,bus=pci.0,addr=0x9: Device initialization failed.
2015-09-06T12:41:09.726064Z qemu-kvm: -device vfio-pci,host=05:02.0,id=hostdev0,bus=pci.0,addr=0x9: Device 'vfio-pci' could not be initialized


I've followed a whole load of instructions and made teh settings below: 

- Updated /etc/sysconfig/grub tp add intel_iommu=on:
GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet intel_iommu=on"

- Allowed unsafe interrupts in /etc/modprobe.d/PME-vfio_iommu_type1.conf:
options vfio_iommu_type1 allow_unsafe_interrupts=1

- Blacklisted the PCI card's drivers in /etc/modprobe.d/blacklist.conf so they don't get grabbed by the CentOS hypervisor host:
blacklist cx8800
blacklist cx8802
blacklist cx88_dvb
blacklist cx88-mpeg

Can anyone please advise why I'm getting that error preventing the VM from booting?

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux