VM not booting

ke4to

New Member
Oct 15, 2023
1
0
1
Getting this message when trying to boot windows vm that has been running fine for over a year. Host rebooted.

swtpm_setup: Not overwriting existing state file.
kvm: -device hda-micro,id=sound5-codec0,bus=sound5.0,cad=0: no default audio driver available
stopping swtpm instance (pid 4015730) due to QEMU startup error
TASK ERROR: start failed: QEMU exited with code 1

Anyone see this before?
 
I've not seen this before, but the error does mention an audio driver. If you look in the Hardware tab of the machine, do you have an Audio-Device added, and if so, perhaps a first good test would be to try and remove the device and see if it boots then.

If it boots then, we know it's something audio-related, if not we at least exclude that error from the message, if there is no Audio Device then it is still a strange error to be there.
 
Hi,
are you passing in custom arguments via the args parameter?

From https://wiki.qemu.org/ChangeLog/8.2
In addition to -audiodev and -audio, QEMU does not create default audio backends anymore if the -nodefaults option are used on the command line.

If yes, you need to additionally add the option for the backend. I.e. -audio spice if using SPICE, otherwise use kvm -audio help to see alternatives.

If not, please share the output of qm config <ID> replacing <ID> with the ID of your VM and the output of pveversion -v.