Mostly complete, still needs cleanup

This commit is contained in:
Jonathan Cremin 2020-05-19 13:49:30 +01:00
parent a7eaa7dbfb
commit e17f84ad8a
18 changed files with 359 additions and 49 deletions

View file

@ -6,8 +6,13 @@ source "/etc/libvirt/hooks/kvm.conf"
## Unbind gpu from vfio and bind to nvidia
virsh nodedev-reattach $VIRSH_GPU_VIDEO
virsh nodedev-reattach $VIRSH_GPU_AUDIO
virsh nodedev-reattach $VIRSH_GPU_USB
virsh nodedev-detach $VIRSH_GPU_SSD
## Unload vfio
modprobe -r vfio_pci
modprobe -r vfio_iommu_type1
modprobe -r vfio
modprobe -r vfio
## unload audio input/output mix
pacmd unload-module module-loopback