https://pve.proxmox.com/wiki/Split_lock_detection
Disable split lock mitigation temporarily by running
sysctl -w kernel.split_lock_mitigate=0
(see the kernel docs). You can disable it permanently by creating a file /etc/sysctl.d/50-split-lock.conf with contents
kernel.split_lock_mitigate=0
and running sysctl -p /etc/sysctl.d/50-split-lock.conf. You will still get the warnings in the journal, but the bpftrace script should report no more artificial slowdowns.
Edit /etc/pve/qemu-server/xxx.conf, optimise disk by adding aio=native:
scsi0: local-lvm:vm-100-disk-1,aio=native,cache=directsync,iothread=1,size=640G
Install to point it asks disk:
Wait for install to complete.
When it says lets connect you to a network:
Install drivers from virtio disk. Run virtio-win-gt-x64 on the CD.
Admin command prompt
slmgr.vbs -upk
slmgr.vbs -ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
slmgr.vbs -skms 10.10.10.10:1688
slmgr.vbs -ato
slmgr.vbs -dlv
Key instructions:
Generic for UPT mode:
universal_nogop_igd.rom
This assumes VM is 101, and we're passing through 02.1.
Edit /etc/pve/qemu-server/101.conf.
Add/modify/confirm the following lines:
args: -cpu host,vendor=GenuineIntel
bios: ovmf
cpu: host
hostpci0: 0000:00:02.1,pcie=1,romfile=Universal_noGOP_igd.rom,x-vga=1
machine: q35
scsi0: local-lvm:vm-101-disk-1,aio=native,cache=directsync,iothread=1,size=256G
vga: none
Use Intel drivers 6979 ( \UNRAID\shared\Drivers and VCRuntimes )
Download the Show or Hide Updates Tool from Microsoft and use it to block the Intel graphics driver (or windows will clobber the good one over and over!).
If code 43 make sure to disable core memory isolation.