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

methodius

New Member
Sep 30, 2020
1
0
1
41
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!