Using vt-d with centos 6.8

Issues related to hardware problems
Post Reply
matrix2020
Posts: 18
Joined: 2016/11/11 07:42:01

Using vt-d with centos 6.8

Post by matrix2020 » 2017/03/26 16:04:05

Hi.
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.

Post Reply