Skip to content

wildtruc/Pci-Passthrough-Handbook

Repository files navigation

Pci-Passthrough-Handbook

This is a pci-passthrough handbook based on my own experience while installing and configuring a Qemu-KVM virtualized OS to play the rares games I own and can't use under Wine layer.

I wrote the handbook for some french online friends with the same project and the pci-passthrough issues based on 2 Nvidia graphics cards. There's many tutorials arround the web, some are very technical, some give how-to from personnal experience (as i'm doing there), but there's only one article taking about the Nvidia card not very fair issue and how-to workaround it.

I could wrote some blog spot somewhere or add comments to the already existing pages, but I though it should a better way to push it on GIT and give the possibilty to readers to discuss and add their patches, translations and distro specifics to help as many people as possible.

At this time, the 8th of August 2018, there's only a french and english handbooks, but I'm' hopping there will be more with reader's help in a near future.

The handbook was wrote afterward, so I have maybe missed some step. Tell me please if I did.

You can just follow the instructions from the actual page or you may download them locally with the command-line below :

git clone https://github.com/wildtruc/Pci-Passthrough-Handbook.git

You can also add the GIT repos on your watch list to stay update for changes and enhancements.


You can also follow the excellent blog post VFIO tips and tricks by Alex Williamson alongside the handbook. The post and comments are very educational and useful.


Scripts

Most are taken from already existing tutorials and articles pages, some are modified, some are wrote from scratch.

Helpers

There are probably more scripts that could be wrote to simplify user's experience. Add your's or patch with your enhancement.

  • iommu_group Will display in clear tabs iommu groups for VGA and Audio after system basic iommu init.

  • cpu_pining will display the corresponding processor/thread in .xml syntax for virsh edit (could/should be enhanced)

  • kvm_usb will display in ordered tabs USB PCI detachable controllers for the VM use. (could be enhanced)

System

  • vfio_bind override /sys/bus specifics files launched at boot time. Copy/paste to /usr/local/sbin after edit to proper pci IDs.

Note aux lecteurs francophones :

Le readme est en anglais de manière à toucher le plus de monde possible. Vous pouvez à tout moment en demander une traduction si vous rencontrez des difficultés.

About

This is a pci-passthrough experience with 2 Nvidia GPUs (host and guest)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages