I installed a win10 guest and passed throught a nvidia gpu to it. Everything works fine with the following configuration:
bios: ovmf
boot: d
cores: 12
cpu: host
hostpci0: 0a:00,pcie=1
hostpci1: 01:00,pcie=1,x-vga=1
hostpci2: 05:00,pcie=1
machine: q35
memory: 49152
name: Win10
net0...