QEMU syntax to Proxmox syntax

amdlinux

Member
Feb 9, 2021
3
0
6
25
I want to passthrough my AMD RX 5700 XT.

I want to try a QEMU solution but I need the correct Proxmox syntax.

Could anybody "convert" the following QEMU syntax?

Code:
-device ioh3420,id=root_port1,chassis=1,slot=2,bus=pcie.0 \
-device x3130-upstream,id=upstream_port1,bus=root_port1 \
-device xio3130-downstream,id=downstream_port1,bus=upstream_port1 \
-device vfio-pci,host=03:00.0,id=gpu,romfile=XFX.RX5700XT.8192.190823.rom,multifunction=on,bus=downstream_port1,addr=0x0.0 \
-device vfio-pci,host=03:00.1,id=gpu_audio,bus=downstream_port1,addr=0x0.1 \

Please also tell me if all these five options are related to the GPU passthrough.

Thanks.
 
normally you do not have to manually define the upstream and downstream ports, so simply using a line like:

Code:
hostpci0: 03:00,romfile=XFX.RX5700XT.8192.190823.rom

note that the romfile must be in /usr/share/kvm/

alternatively, you must use the 'args' parameter to enter that exact command line, because there is no built-in way to select that specific hardware or those adresses