won't be able to start the VM with the GPU anymore

sidakex

New Member
Mar 27, 2025
1
0
1
I have a VM that started showing me the error below, could you help me?
kvm: -device vfio-pci,sysfsdev=/sys/bus/mdev/devices/00000000-0000-0000-0000-000000001001,id=hostpci0,bus=pci.0,addr=0x10: vfio 00000000-0000-0000-0000-000000001001: error getting device from group 31: Input/output error
Verify all devices in group 31 are bound to vfio-<bus> or pci-stub and not already in use
waited 10 seconds for mediated device driver finishing clean up
actively clean up mediated device with UUID 00000000-0000-0000-0000-000000001001
TASK ERROR: start failed: QEMU exited with code 1
 
You have a resource contention - possibly because you're using another device in the same group on the host, or mapped to another guest, or you added or moved physical hardware.

You may need to check "All Functions" at the node level, or select a whole group at the datacenter level.

If you need to use multiple devices from the same group, it sometimes helps to move it to a different PCIe slot.

Datacenter Resources
Screenshot 2025-03-31 at 4.07.27 AM.png
Screenshot 2025-03-31 at 4.07.18 AM.png
Note: in this example I'm trying to select the thermal sensor, but I can't do that unless I also select the USB hub (a more realistic example probably would have been the other way around).

Node Resources
Screenshot 2025-03-31 at 4.07.47 AM.png
Screenshot 2025-03-31 at 4.08.24 AM.png

Note: in this example I've chosen a specific device, but used "All functions" to capture the necessary group.