]> git.proxmox.com Git - pve-qemu.git/commit - debian/patches/pve/0024-PVE-Allow-version-code-in-machine-type.patch
fix #3728: handle machine without type
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 17 Nov 2021 09:41:17 +0000 (10:41 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 17 Nov 2021 16:20:26 +0000 (17:20 +0100)
commit7cf6b6092697b682c7ef46e97a6b0db5e68cf57b
treeba42cc0d54ea99d61d2692135fdd4a7e2203bb2b
parent50999525c69c01e040b917d196bea3b492ec2d81
fix #3728: handle machine without type

libguestfs starts their helper VMs with `-machine accel=..` without a
machine type, and our pve version suffix handling would segfault in that
case. there might be other scripted use cases that are affected as well.

this regression was introduced with the rebase of our patch set on top
of 6.1.0

Fixes: f376b2b9e2fc1f0c8f9c6275e96ede5f423c4126
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
debian/patches/pve/0024-PVE-Allow-version-code-in-machine-type.patch