Cannot start VM missing strange item...

Mattias Hedman

Well-Known Member
Jan 19, 2019
122
10
58
54
This is the error code 1 for my 300 VM:
kvm: -device vfio-pci,host=0000:42:00.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0,x-vga=on: vfio 0000:42:00.0: failed to open /dev/vfio/56: Device or resource busy
start failed: QEMU exited with code 1

failed to open /dev/vfio/56 - say what? What is this?
 
It looks like you're trying to pass through a PCI device to your VM. If so, could it have already been used by the host and therefore not available to the client VM?

What is the device you're trying to pass through?
 
It looks like you're trying to pass through a PCI device to your VM. If so, could it have already been used by the host and therefore not available to the client VM?

What is the device you're trying to pass through?
It is a GPU I am trying to pass through, this is the VM that sole access to it. It was working just fine until I had to restart the pve-host.
 
Did you clone the VM that had sole access to the GPU and is that running at all?

Can you confirm that the host isn't using the GPU by seeing whether theres any output to your monitor attached to the GPU?

I've got my rig setup with Proxmox host using the mobo iGPU which is plugged into the HDM port on my monitor. The client (Windows 10) has dedicated access to the GPU which is also plugged into the same monitor via DisplayPort. This is sometimes confusing, especially when Windows 10 goes into sleep and I end up with the PVE command line.
 
@krikey No it is not cloned.
It uses a GPU that is connected via PICe inside my server. Drivers for the GPU is installed both on the host and on the VM.
 

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!