>>102659346
you are paying with your freedom anon. I paid for V15 so it has been a while.
>>102659383
I have used GPU passthrough to due to some issues with my AMD card. I found SD virtualized complete ass when I have attempted. It should have been obvious, but not obvious to me is how much a pain in the ass having the GPU being disconnected from the main system. When you fire up qemu with passthrough it owns the card and very logically ignores your keyboard and mouse. I had to boot with a specific card and make sure X didn't attach and blah, blah, blah it was a fuck of a thing. Once it was working it was fucking fantastic and I ran with it for months. I would still be running it if I hadn't distro hopped.
#!/bin/bash
bridge_name="nvid_br"
tap_name="nvid_tap"
bridge_name="main_br"
tap_name="nvid_tap"
# ./init_network.sh $bridge_name $tap_name
virsh nodedev-detach pci_0000_08_00_0
virsh nodedev-detach pci_0000_08_00_1
qemu-system-x86_64 \
-enable-kvm \
-cpu host,kvm=on \
-m 31G \
-name "StableDiff" \
-smp cores=8 \
-monitor stdio \
-drive format=raw,file=/storage/vm/nvid_gpu_pass/gpu_nvid_root.raw,index=1 \
-drive format=raw,file=/ssdstorage/vm/gpu_pass_ckpt.raw,index=2 \
-usb -device usb-host,vendorid=0x413c,productid=0x2113 \
-device virtio-net,netdev=network0 -netdev tap,id=network0,ifname=nvid_tap,script=no,downscript=no \
-boot menu=on,splash-time=10 \
-virtfs local,path=/storage/home/sd,mount_tag=personaltag,security_model=passthrough,id=personaltag \
-virtfs local,path=/storage/home/code,mount_tag=transfer,security_model=passthrough,id=transfer \
-device vfio-pci,host=08:00.0,x-vga=on \
-device vfio-pci,host=08:00.1 \
-vga none \
-vnc :0
$@
virsh nodedev-reattach pci_0000_08_00_0
virsh nodedev-reattach pci_0000_08_00_1
I can post the network setup file too if you want. It isn't special, it creates a bridge and a tap. Nothing special.