Mostly complete, still needs cleanup
This commit is contained in:
parent
a7eaa7dbfb
commit
e17f84ad8a
18 changed files with 359 additions and 49 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue