KVM PCI Passthrough: Difference between revisions

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..."
 
imported>Wallmani
No edit summary
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.
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===
===Basic setup procedure===
# Setup kvm
* Setup [https://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine KVM]
# Recompile kernel to enable iommu optimizations and pcistub
* Recompile kernel to enable [https://en.wikipedia.org/wiki/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 VM
* Install $windows in a [https://en.wikipedia.org/wiki/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.
# ???
# Profit