@samitouri / QOSamiQemu / commits / 6ccf1e73fc

hw/i386/pc: xen: reinstate the "xenfv" machine alias

Commit 7d2778dea32a4924a469f1cc5767042c8f5b4eea ("hw/i386/pc: Remove deprecated pc-q35/pc-i440fx/xenfv 3.1 machines") removed the Xen machine type that was providing the "xenfv" alias. As a consequence, since the tools are apparently relying on such alias, we're getting this, as soon as one tries to start a Xen (HVM) VM: qemu-system-i386: unsupported machine type: "xenfv" Use -machine help to list supported machines Reinstate the alias and let it point to the only Xen machine we still have. Cc: qemu-stable@nongnu.org Fixes: 7d2778dea3 Remove deprecated pc-q35/pc-i440fx/xenfv 3.1 machines Signed-off-by: Dario Faggioli <dfaggioli@suse.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Acked-by: Stefano Stabellini <sstabellini@kernel.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Message-ID: <20260730162238.3308286-1-dfaggioli@suse.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>

Dario Faggioli committed Jul 30, 2026 at 18:22 UTC 6ccf1e73fc65a7ad52eca1f8ecfa925a03acd987
1 file changed +1
hw/i386/pc_piix.c
+1
@@ -667,6 +667,7 @@ static void xenfv_machine_4_2_options(MachineClass *m)
667 {
668 pc_i440fx_machine_4_2_options(m);
669 m->desc = "Xen Fully-virtualized PC";
670 + m->alias = "xenfv";
671 m->max_cpus = HVM_MAX_VCPUS;
672 m->default_machine_opts = "accel=xen,suppress-vmdesc=on";
673 }