Return to Level1Techs.com

The VFIO and Passthrough One Stop Shop

vfio
pciepassthrough

#1

Seems like we get a new thread almost every day with people having the same problems setting up a passthrough VM. The Purpose of this Wiki is to be a resource and reference for people who want to set up a VFIO system, or have one already and need advice or Tutorials for the various facets of that system.

I will be adding categories like ‘input’ ‘screens’ etc – these can be expanded as necessary.

Basic Setup

Guides on setting up a passthrough VM

The archwiki guide:
https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF

This is the gold standard in passthrough setup tutorials. It is by and large the most complete, best maintained, and most accurate reference available. The vast majority of the information is completely distro agnostic, with the single caveat being mkinipcio being distro specific (dracut on fedora etc)

This should always be your first reference.

Explainers/Benchmarks

Information on various ill documented or not-oft-explained aspects of VFIO. Benchmarks should also be put here as the effectiveness of many commonly suggested tweaks are not very well characterized.

Hardware buying and quirk guide: https://passthroughpo.st/vfio-increments/

Input

resources for people looking for keyboard/mouse input sharing solutions or other input-related topics.

Storage

Information on best practices for images, VirtIO, etc.

Display/GPU

VFIO Topics pertaining to your VM’s display, native or otherwise.

Audio

VM audio resources.

Distro Specific

Apparmor, distro specific software, issues, and workarounds.

Tools and Projects

Software that enhances the VFIO experience, or VFIO use cases outside of GPU passthrough

https://looking-glass.hostfission.com/

This is a tool that allows users to take advantage of KVMFR, using 3d accelerated VMs without needing a native display


GPU Passthrough Tips
Move to Linux - Keep Windows - One drive
Gaming on linux help (Ubuntu 18.04)
Any Tips For KVM Performance Improvements?
VM snapshot with OVMF/UEFI firmware
KVM Boot From SSD
Looking Glass - Guides, Help and Support
Looking for qemu guest gpu hardware recomendation
Looking Glass - Triage
Passthrough Newb looking for suggestions please
Looking for Suggestions on New System Build for VM's
Adding Hard Disk in Virtualized OS
RE: Gaming on Linux passthrough
Trying to set up a gaming VM
Interested in Setting up VM on Linux