Post B5g48lnviLz2RKXu1A by tomcat@mstdn.starnix.network
(DIR) More posts by tomcat@mstdn.starnix.network
(DIR) Post #B5g48lnviLz2RKXu1A by tomcat@mstdn.starnix.network
0 likes, 0 repeats
PSA for anyone using #QEMU #KVM for #SingleGPUPassthrough Guides are all over the net suggesting hooks scripts invoking pci devices, unloading/loading kernel modules, and other unnecessary things. Here's my current hook script for starting the VM:systemctl stop display-managerThat's it. And the reverse for teardown:systemctl start display-manager#IOMMU groups still apply, and you need to pass the correct PCI devices to your VM, but everything else is handled automatically.Disclaimer that this is how it works currently for my AMD card. I did have a working setup with my NVIDIA card that did unload/load kernel modules, however it seems things have come a long way since I set that up.#virtualization #libvirt #vfio
(DIR) Post #B5g48mLbh8vE7mInVg by splitshockvirus@mstdn.starnix.network
0 likes, 0 repeats
@tomcat cc @dcc