Difference between revisions of "KVM PCI Passthrough"

From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to: navigation, search
imported>Wallmani
(Created page with "==KVM PCI Passthrough== 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. ===Basic setup pr...")
 
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==KVM PCI Passthrough==
+
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.
  
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.
+
===Basic setup procedure===
 +
* Setup [[w:Kernel-based Virtual Machine|KVM]]
 +
* Recompile kernel to enable [[w:IOMMU|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 [[w:Virtual Machine|VM]]
 +
** Leave cirrus VGA enabled until you install the Radeon drivers and virtio.
  
===Basic setup procedure===
+
[[Category:Howtos]]
# Setup kvm
+
[[Category:Needs restoration]]
# 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.
 
# ???
 
# Profit
 

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.