GPU passthrough - device is locked after performing a restart of the VM

methodius

New Member
Sep 30, 2020
1
0
1
42
Greetings Everyone,

I passed my 2 GPUs (AMD RX 560s) to 2 VMs running on Proxmox 6.2.11. Both work fine on their respective VM however when I restart one of the VMs I cant get it to start again with the message:

kvm: -device vfio-pci,host=0000:0a:00.0,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,multifunction=on: vfio 0000:0a:00.0: failed to open /dev/vfio/23: Device or resource busy
TASK ERROR: start failed: QEMU exited with code 1

Any advise would be appreciated.