[SOLVED] QEMU exited with code 1

Jul 20, 2022
133
10
18
I was having a problem with PVE that I couldn't fix, so I reinstalled it. I got the storages back and have all the VMs running except for one. This is what is in syslog:
Code:
Mar 19 17:26:03 leghorn pvedaemon[1334]: <root@pam> starting task UPID:leghorn:000100FB:0007AA74:65FA02EB:qmstart:110:root@pam:
Mar 19 17:26:03 leghorn pvedaemon[65787]: start VM 110: UPID:leghorn:000100FB:0007AA74:65FA02EB:qmstart:110:root@pam:
Mar 19 17:26:03 leghorn systemd[1]: Started 110.scope.
Mar 19 17:26:03 leghorn systemd[1]: 110.scope: Deactivated successfully.
Mar 19 17:26:03 leghorn pvedaemon[65787]: start failed: QEMU exited with code 1
Mar 19 17:26:03 leghorn pvedaemon[1334]: <root@pam> end task UPID:leghorn:000100FB:0007AA74:65FA02EB:qmstart:110:root@pam: start failed: QEMU exited with code 1

I don't get any other indications of a problem, except that the VM doesn't start.

Here is the VM config file:
Code:
root@leghorn:/etc/pve/qemu-server# cat 110.conf
agent: 1
audio0: device=ich9-intel-hda,driver=spice
balloon: 6144
bios: ovmf
boot: order=scsi0
cores: 4
cpu: host
cpuunits: 75
efidisk0: Zvol:vm-110-disk-2,efitype=4m,pre-enrolled-keys=1,size=1M
machine: q35
memory: 10240
meta: creation-qemu=7.2.0,ctime=1692576549
name: bullwinkle
net0: virtio=56:9A:1F:B8:B0:9D,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: Zvol:vm-110-disk-0,iothread=1,size=50G
scsi1: cryptodata:110/vm-110-disk-0.qcow2,backup=0,iothread=1,size=1250G
scsi2: Zvol:vm-110-disk-1,backup=0,iothread=1,size=1044G
scsihw: virtio-scsi-single
smbios1: uuid=cc54ffc8-5f25-490f-8b50-1c5d30177414
sockets: 1
vga: std
vmgenid: 08203206-e1cf-4d5c-b238-da756557f51a

I've looked at several other threads that have this error, and tried a few of the workarounds. None have worked, and there don't seem to be any that are an exact match.
 
audio0: device=ich9-intel-hda,driver=spice
vga: std
Since some recent Proxmox/QEMU version, you need to select SPICE (vga: qxl) for the VM Display when using audio via SPICE.

EDIT: The alternative is removing the virtual audio device. It depends on what you want with the VM (SPICE + audio or standard VGA without audio).
 
Last edited:

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!