Difference between revisions of "PCI Passthrough"
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | == | + | == Main Document == |
+ | http://vfio.blogspot.ca/2015/05/vfio-gpu-how-to-series-part-3-host.html | ||
+ | == Commands == | ||
+ | List AMD devices: | ||
+ | lspci -nn | grep AMD | ||
+ | |||
+ | Regenerate Grub2 config: | ||
+ | grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg | ||
+ | |||
+ | == Grub== | ||
Grub2 file location: | Grub2 file location: | ||
/etc/default/grub | /etc/default/grub | ||
Line 10: | Line 19: | ||
iommu=on pci-stub.ids= | iommu=on pci-stub.ids= | ||
iommu=pt iommu=1 | iommu=pt iommu=1 | ||
− | |||
− | |||
− | |||
== Source Info == | == Source Info == | ||
Line 18: | Line 24: | ||
Debian: | Debian: | ||
https://wiki.debian.org/VGAPassthrough | https://wiki.debian.org/VGAPassthrough | ||
+ | https://scottlinux.com/2016/08/28/gpu-passthrough-with-kvm-and-debian-linux/ | ||
Fedora: | Fedora: | ||
http://www.andrewklau.com/my-fedora-21-gaming-rig-using-vt-d-and-vfio-without-compromise/ | http://www.andrewklau.com/my-fedora-21-gaming-rig-using-vt-d-and-vfio-without-compromise/ | ||
http://www.se7ensins.com/forums/threads/how-to-setup-a-gaming-virtual-machine-with-gpu-passthrough-qemu-kvm-libvirt-and-vfio.1371980/ | http://www.se7ensins.com/forums/threads/how-to-setup-a-gaming-virtual-machine-with-gpu-passthrough-qemu-kvm-libvirt-and-vfio.1371980/ | ||
+ | https://bluehatrecord.wordpress.com/2016/09/02/virtualizing-windows-7-with-fedora-23-kvmqemu-and-iommu-enabled-pci-passthrough/ | ||
+ | https://bluehatrecord.wordpress.com/2015/12/05/performing-iommu-based-gpu-pci-passthrough-with-fedora-22/ | ||
+ | |||
+ | Redhat: | ||
+ | http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM | ||
+ | |||
+ | Ubuntu: | ||
+ | https://apurv.me/vga-passthrough-using-kvm-in-ubuntu-14-04/ | ||
+ | |||
+ | == KVM HDD Passthrough == | ||
+ | http://askubuntu.com/questions/144894/add-physical-disk-to-kvm-virtual-machine | ||
+ | |||
+ | == Errors == | ||
+ | KVM Error Guide | ||
+ | http://vfio.blogspot.ca/2014/08/vfiovga-faq.html |
Latest revision as of 05:00, 29 September 2016
Main Document
http://vfio.blogspot.ca/2015/05/vfio-gpu-how-to-series-part-3-host.html
Commands
List AMD devices:
lspci -nn | grep AMD
Regenerate Grub2 config:
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Grub
Grub2 file location:
/etc/default/grub
Intel:
intel_iommu=on pci-stub.ids=
AMD:
iommu=on pci-stub.ids= iommu=pt iommu=1
Source Info
Debian:
https://wiki.debian.org/VGAPassthrough https://scottlinux.com/2016/08/28/gpu-passthrough-with-kvm-and-debian-linux/
Fedora:
http://www.andrewklau.com/my-fedora-21-gaming-rig-using-vt-d-and-vfio-without-compromise/ http://www.se7ensins.com/forums/threads/how-to-setup-a-gaming-virtual-machine-with-gpu-passthrough-qemu-kvm-libvirt-and-vfio.1371980/ https://bluehatrecord.wordpress.com/2016/09/02/virtualizing-windows-7-with-fedora-23-kvmqemu-and-iommu-enabled-pci-passthrough/ https://bluehatrecord.wordpress.com/2015/12/05/performing-iommu-based-gpu-pci-passthrough-with-fedora-22/
Redhat:
http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM
Ubuntu:
https://apurv.me/vga-passthrough-using-kvm-in-ubuntu-14-04/
KVM HDD Passthrough
http://askubuntu.com/questions/144894/add-physical-disk-to-kvm-virtual-machine
Errors
KVM Error Guide
http://vfio.blogspot.ca/2014/08/vfiovga-faq.html