TASK ERROR: start failed: QEMU exited with code 1

KingAllen

New Member
Feb 6, 2024
13
0
1
Hi! Can anyone help me with this? I got this error.

Code:
kvm: -device vfio-pci,sysfsdev=/sys/bus/mdev/devices/fe04bf89-ba1b-46bb-82e1-ebabcc7947c9,display=off,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,x-pci-vendor-id=0x10de,x-pci-device-id=0x1e30,x-pci-sub-vendor-id=0x10de,x-pci-sub-device-id=0x11A0: vfio /sys/bus/mdev/devices/fe04bf89-ba1b-46bb-82e1-ebabcc7947c9: no such host device: No such file or directory
TASK ERROR: start failed: QEMU exited with code 1
 
Hi! Can anyone help me with this? I got this error.

Code:
kvm: -device vfio-pci,sysfsdev=/sys/bus/mdev/devices/fe04bf89-ba1b-46bb-82e1-ebabcc7947c9,display=off,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,x-pci-vendor-id=0x10de,x-pci-device-id=0x1e30,x-pci-sub-vendor-id=0x10de,x-pci-sub-device-id=0x11A0: vfio /sys/bus/mdev/devices/fe04bf89-ba1b-46bb-82e1-ebabcc7947c9: no such host device: No such file or directory
TASK ERROR: start failed: QEMU exited with code 1
Hi,
seems like you are trying to pass trough a non existing device to a VM, as the error states that there is no such host device? Please share and double check the qm config <VMID> for the VM in question.
 
Hi,
seems like you are trying to pass trough a non existing device to a VM, as the error states that there is no such host device? Please share and double check the qm config <VMID> for the VM in question.
Hi, Chris. here the result.

root@CLG:~# qm config 301
args: -device 'vfio-pci,sysfsdev=/sys/bus/mdev/devices/fe04bf89-ba1b-46bb-82e1-ebabcc7947c9,display=off,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,x-pci-vendor-id=0x10de,x-pci-device-id=0x1e30,x-pci-sub-vendor-id=0x10de,x-pci-sub-device-id=0x11A0' -uuid fe04bf89-ba1b-46bb-82e1-ebabcc7947c9
bios: ovmf
boot: order=ide0;ide2;net0
cores: 6
description: CLG01
efidisk0: CLG1:vm-301-disk-1,efitype=4m,pre-enrolled-keys=1,size=4M
ide0: CLG1:vm-301-disk-0,size=250G
ide2: local:iso/virtio-win-0.1.229.iso,media=cdrom,size=522284K
machine: pc-q35-6.1
memory: 16384
meta: creation-qemu=6.1.0,ctime=1707719135
name: CLG01
net0: e1000=92:2A:E6:5A:A0:BB,bridge=vmbr1,firewall=1
numa: 0
ostype: win11
scsihw: virtio-scsi-pci
smbios1: uuid=37f2c9e3-6347-4737-84a8-b01f2c96a9c0
sockets: 1
vmgenid: 8bf9a7e8-6509-450b-81a8-0436c57f5222
 
How did you generate the extra args you are passing to the qemu command line? As stated, the error indicates that the device you added to the args does not exist. You will have to adapt this or remove it, depending on what your goal is.
 

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!