Open main menu

Linux and Unix Users Group at Virginia Teck Wiki β

KVM PCI Passthrough

Revision as of 21:10, 3 January 2019 by Pew (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is something awesome that scanf did. He will expand upon this article as he sees fit and will grace us all with his knowledge. echarlie also did this, and may eventually expand upon it too.

Basic setup procedure

  • Setup KVM
  • Recompile kernel to enable IOMMU optimizations and pcistub
  • Blacklist $hardware_to_passthru
  • Turn off the to-be-passthrud-pci-ports with pcistub
  • Boot said kernel
  • Install $windows in a VM
    • Leave cirrus VGA enabled until you install the Radeon drivers and virtio.