Hello! I'm trying to passthrough gpu to windows vm
When using virt-manager it works fine
<hostdev mode="subsystem" type="pci" managed="yes">
  <source>
    <address domain="0x0000" bus="0x06" slot="0x00" function="0x0"/>
  </source>
  <address type="pci" domain="0x0000" bus="0x05" slot="0x00"
function="0x0"/>
</hostdev>
but when i try to run with
-device pcie-root-port,bus=pcie.0,slot=1,x-speed=16,x-width=32
-device vfio-pci,host="06:00.0",multifunction=on,bus=pcie.0,rombar=1
-device vfio-pci,host="06:00.1",bus=pcie.0
I only see black screen
hot to fix qemu cmd so that it works like in virt-manager&

Reply via email to