Pt 4, Attaching the GPU to the VM
Prerequisites
Adding the PCI devices
In Virt Manager, open the VM’s Hardware page, click Add Hardware, then select PCI Host Device. Pick the entries matching the GPU’s PCI numbers noted in Pt 3 (this matters if the device name alone is ambiguous). Add every device from the same IOMMU group — for this laptop, both the GPU (01:00.0) and its audio device (01:00.1).
First boot with the GPU attached
Start the VM. If the GPU is plugged into a monitor, it may still show nothing at first — this is expected, since the GPU driver isn’t installed in the guest yet. Install the NVIDIA driver inside the VM; the monitor connected to the GPU then starts displaying output.

The NVIDIA driver installer finishing inside the VM, with the guest desktop already rendering — confirms the passed-through GPU is being driven correctly by the guest.