KVM PCI Passthrough: Difference between revisions

From the Linux and Unix Users Group at Virginia Teck Wiki
Jump to navigation Jump to search
imported>Wallmani
No edit summary
imported>Wallmani
No edit summary
Line 2: Line 2:


===Basic setup procedure===
===Basic setup procedure===
* Setup [https://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine KVM]
* Setup [[w:Kernel-based Virtual Machine|KVM]]
* Recompile kernel to enable [https://en.wikipedia.org/wiki/Iommu IOMMU] optimizations and pcistub
* Recompile kernel to enable [[w:IOMMU|IOMMU]] optimizations and pcistub
* Blacklist $hardware_to_passthru
* Blacklist $hardware_to_passthru
* Turn off the to-be-passthrud-pci-ports with pcistub
* Turn off the to-be-passthrud-pci-ports with pcistub
* Boot said kernel
* Boot said kernel
* Install $windows in a [https://en.wikipedia.org/wiki/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.

Revision as of 03:21, 8 March 2012

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