]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer.pm
q35 already has an 'audio0' device, rename our to "audiodev$id"
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 24 Jul 2019 13:06:20 +0000 (15:06 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 24 Jul 2019 13:06:53 +0000 (15:06 +0200)
commitb0f96836dbb989d2175bc872cefbab4ced7180e7
tree721aca414990515816d68250b613b9bf398fa491
parent64c197ab6d5dae611f8087fa0ccaeea167b232ca
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>
PVE/QemuServer.pm