qemu-server/PVE
Thomas Lamprecht b0f96836db q35 already has an 'audio0' device, rename our to "audiodev$id"
The latest changes to our audio device implemenation [0] changed the
naming of the device id to "audio<id>" which in practice resulted in
"audio0".

This conflicts with the predefined audio device in the Q35 configs
that is also using "audio0". The result is that a VM with a
configured audio device and Q35 type will not start.

While we just would had removed the audio0 device if we had detected
this earlier in the new 4.0 q35 config, we cannot do so anymore due
to migration compatibility.

So rename the device from "audio$id" to audiodev$id".

Co-authored-by: Aaron Lauterer <a.lauterer@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-24 15:06:53 +02:00
..
API2 Add audio device to HW permissions 2019-07-18 08:24:39 +02:00
CLI add qm command for cloudinit config dump 2019-06-06 14:34:11 +02:00
QemuServer Add PCI address for audio device 2019-07-18 08:24:39 +02:00
VZDump fix #503: print correct offline time for stop mode backups 2019-05-15 16:28:15 +02:00
Makefile add QemuServer::Memory 2016-05-23 10:02:07 +02:00
QemuConfig.pm add correct comment about savevm-start 2019-03-19 09:26:56 +01:00
QemuMigrate.pm migrate: log which local resource causes error 2019-05-07 10:22:12 +00:00
QemuServer.pm q35 already has an 'audio0' device, rename our to "audiodev$id" 2019-07-24 15:06:53 +02:00
QMPClient.pm use qemu's blockdev-snapshot functions 2018-09-24 11:12:34 +02:00