I have an MSI-GD65 Gaming motherboard and an Intel i7 4790. VT-D is enabled in the CPU Features section of the bios. 

I'm running Ubuntu 14.04.1 LTS and when I try and detach a device, I get the following message:

> 
> # virsh nodedev-detach pci\_0000\_00\_1f\_2
> 
> 
> 
> > 
> > error: Failed to detach device pci\_0000\_00\_1f\_2
> >  error: Operation not supported: neither VFIO nor KVM device assignment is currently supported on this system
> > 
> > 
> > 
> 
> 
> 

Dmesg includes some information about IOMMU but I can't tell if this means that VT-D is enabled

> 
> $ dmesg | grep -i iommu 
> 
> 
> 
> > 
> > [ 0.027450] dmar: IOMMU 0: reg\_base\_addr fed90000 ver 1:0 cap c0000020660462 ecap f0101a  
> > 
> >  [ 0.027455] dmar: IOMMU 1: reg\_base\_addr fed91000 ver 1:0 cap d2008020660462 ecap f010da  
> > 
> >  [ 0.027521] IOAPIC id 8 under DRHD base 0xfed91000 IOMMU 1
> > 
> > 
> > 
> 
> 
> 

Can anyone advise what I need to do to enable VT-D on this system and pass through PCI devices to KVM guests please ?