Difference between revisions of "KVM PCI Passthrough"

From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to: navigation, search
imported>Wallmani
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
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.
+
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. [[user:Echarlie|echarlie]] also did this, and may eventually expand upon it too.
  
 
===Basic setup procedure===
 
===Basic setup procedure===
Line 9: Line 9:
 
* Install $windows in a [[w:Virtual Machine|VM]]
 
* Install $windows in a [[w:Virtual Machine|VM]]
 
** Leave cirrus VGA enabled until you install the Radeon drivers and virtio.
 
** Leave cirrus VGA enabled until you install the Radeon drivers and virtio.
 +
 +
[[Category:Howtos]]
 +
[[Category:Needs restoration]]

Latest revision as of 21:10, 3 January 2019

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.