I followed this guide to setup a vm with pci passthrough.
My setup:
-
MSI Z170 Gaming M7
-
i7-6700K
-
GTX1080[Host]
-
RX580[Guest]
I can confirm that the GPU is isolated correctly and uses vfio. When I start the machine through virt-manager it seems to start(allocating RAM and CPU usage), but when I switch the monitor to HDMI source I get a no signal message.
Similar using this script
#!/bin/bash cp /usr/share/edk2.git/ovmf-x64/OVMF_VARS-pure-efi.fd /tmp/my_vars.fd qemu-system-x86_64 -enable-kvm -m 2048 -cpu host,kvm=off -vga none -device vfio-pci,host=02:00.0,multifunction=on -device vfio-pci,host=02:00.1 -drive if=pflash,format=raw,readonly,file=/usr/share/edk2.git/ovmf-x64/OVMF_CODE-pure-efi.fd -drive if=pflash,format=raw,file=/tmp/my_vars.fd
opens the qemu console on my host machine.
Help is really appreciated!