Page 1 of 1

Using vt-d with centos 6.8

Posted: 2017/03/26 16:04:05
by matrix2020
As I mentioned earlier I have enabled vt-d in bios of my server's motherboard (j3455-itx).
Now I get the following in dmesg which I think means that pci passthrough should work:
dmar: IOMMU 0: reg_base_addr fed64000 ver 1:0 cap 1c0000c40660462 ecap 7e3ff0505e
dmar: IOMMU 1: reg_base_addr fed65000 ver 1:0 cap d2008c40660462 ecap f050da

According to kvm tutorial, I am supposed to load pci_stub driver for the device which I want to pass through to the vm.
Problem is, I don't think I have the kernel module for that.
modprobe pci_stub returns:
FATAL: Module pci_stub not found.
What am I missing?

Just to clarify, what I intend to try in light of lack of usb pass through support in kvm, is to get me a pcie usb adapter with some sufficiently old usb controller and pass it entirely to the vm, thus making all usb devices connected to it (in my case usb wifi card) visible to the openwrt which I want to run as a VM.