Glossary
Hypervisor (Type 1 vs Type 2)
A Type 2 hypervisor runs on top of an existing OS and must compete with it for hardware access. A Type 1 hypervisor runs directly on the physical hardware (or, in QEMU/KVM’s case, gets direct hardware access via the kernel), giving VMs near-native performance and making full device passthrough practical. See AWS: Type 1 vs Type 2 hypervisors.
IOMMU
Input-Output Memory Management Unit — hardware that maps devices efficiently to system RAM, required for a VM to access physical hardware (like a GPU) directly. See Arch Wiki: PCI passthrough via OVMF.
VFIO
Virtual Function I/O — the Linux kernel driver framework used to hand a PCI device to a VM while preventing the host from using it. See Arch Wiki: PCI passthrough via OVMF.
IOMMU group
The set of PCI devices that IOMMU isolation groups together; every device in a group must be passed through together, since the IOMMU can’t isolate memory access between devices sharing a group. On this laptop the GPU and its audio device share one clean group with nothing else in it — see Pt 2 for how to check this and why a “dirty” group (one containing unrelated devices) would have forced passing those through too. See Arch Wiki: Ensuring that the groups are valid.
Looking Glass
A tool that reads a passthrough GPU’s raw frames to display and control the VM with low latency, instead of relying on a physical monitor plugged into the GPU. See looking-glass.io.
IVSHMEM
Inter-VM Shared Memory — a device that shares a memory region between host and guest; Looking Glass uses it to move frame data. See QEMU: ivshmem spec.
mkinitcpio
Arch/CachyOS’s initramfs generator; the MODULES=() and HOOKS=() lines in /etc/mkinitcpio.conf control which kernel modules (e.g. vfio_pci) load before others (e.g. nvidia) during boot. See Arch Wiki: PCI passthrough via OVMF — mkinitcpio.
Libvirt hook
A script at /etc/libvirt/hooks/qemu that libvirt executes automatically on VM lifecycle events (e.g. prepare/begin, release/end), used here to run the GPU passthrough scripts automatically on VM start/stop. See libvirt: hooks for specific system management.
WirePlumber
The session/policy manager for PipeWire (the Linux audio server). PipeWire keeps a device open as long as WirePlumber considers it active, which gets in the way of GPU passthrough: the GPU’s HDMI audio device won’t cleanly unbind from the host while WirePlumber still holds it, so it’s disabled via a WirePlumber rule before the driver switch and re-enabled afterward — see Pt 6. See WirePlumber docs.