TASK ERROR: start failed: QEMU exited with code 1

jaess

New Member
Jul 3, 2025
1
0
1
Hi guys. How can i fix this error i can't start my vm.

"swtpm_setup: Not overwriting existing state file.
kvm: -device vfio-pci,sysfsdev=/sys/bus/mdev/devices/00000000-0000-0000-0000-000000000999,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0: vfio 00000000-0000-0000-0000-000000000999: error getting device from group 22: Input/output error
Verify all devices in group 22 are bound to vfio-<bus> or pci-stub and not already in use
stopping swtpm instance (pid 2064) due to QEMU startup error
waited 10 seconds for mediated device driver finishing clean up
actively clean up mediated device with UUID 00000000-0000-0000-0000-000000000999
TASK ERROR: start failed: QEMU exited with code 1"
 
Hi,

please provide some information about your setup:
- pveversion -v
- qm config <vmid>
- cat /etc/pve/mapping/pci.cfg
- pvesh get /nodes/localhost/hardware/pci --pci-class-blacklist ""
- What device are you trying to pass through?
- General hardware information