I'd like to use PCI passthrough to make a Ubuntu 14.04 guest see a pci device plugged in a CentOS 7 host. I get an error when I try to detach my PCI device:
Code: Select all
[rdeterre@localhost ~]$ virsh nodedev-detach pci_0000_03_00_0
error: Failed to detach device pci_0000_03_00_0
error: Operation not supported: neither VFIO nor KVM device assignment is currently supported on this system
VT-d is enabled both in the BIOS and in linux with the 'intel_iommu' command line argument. The vmx, ept, cpid, tpr_shadow and vnmi flags are set in /proc/cpuinfo. lsmod contains kvm and kvm_intel. Also, dmesg does not show any message complaining about an issue with hardware support or bios for KVM. Instead, "dmesg | grep -e DMAR -e IOMMU " returns "[ 0.000000] Intel-IOMMU: enabled".
Yet, there is nothing in "/sys/kernel/iommu_groups" and from looking at the libvirt source (
http://libvirt.org/git/?p=libvirt.git;a ... b=HEAD#l96), it looks like it could cause my issue.
Am I missing something?
Thanks,
Romain