All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hw/i386/pc: xen: reinstate the "xenfv" machine alias
@ 2026-07-30 16:22 Dario Faggioli
  2026-07-30 16:27 ` Daniel P. Berrangé
  0 siblings, 1 reply; 3+ messages in thread
From: Dario Faggioli @ 2026-07-30 16:22 UTC (permalink / raw)
  To: qemu-devel
  Cc: philmd, xen-devel, sstabellini, anthony, paul, Dario Faggioli,
	Paolo Bonzini, Richard Henderson, Michael S. Tsirkin

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.

Fixes: 7d2778dea3 hw/i386/pc: Remove deprecated pc-q35/pc-i440fx/xenfv 3.1 machines
Signed-off-by: Dario Faggioli <dfaggioli@suse.com>
---
 hw/i386/pc_piix.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 82457bdb16..0a911ce59e 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -658,6 +658,7 @@ static void xenfv_machine_4_2_options(MachineClass *m)
 {
     pc_i440fx_machine_4_2_options(m);
     m->desc = "Xen Fully-virtualized PC";
+    m->alias = "xenfv";
     m->max_cpus = HVM_MAX_VCPUS;
     m->default_machine_opts = "accel=xen,suppress-vmdesc=on";
 }
-- 
2.55.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] hw/i386/pc: xen: reinstate the "xenfv" machine alias
  2026-07-30 16:22 [PATCH] hw/i386/pc: xen: reinstate the "xenfv" machine alias Dario Faggioli
@ 2026-07-30 16:27 ` Daniel P. Berrangé
  2026-07-30 18:51   ` Stefano Stabellini
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel P. Berrangé @ 2026-07-30 16:27 UTC (permalink / raw)
  To: Dario Faggioli
  Cc: qemu-devel, philmd, xen-devel, sstabellini, anthony, paul,
	Paolo Bonzini, Richard Henderson, Michael S. Tsirkin

On Thu, Jul 30, 2026 at 06:22:38PM +0200, Dario Faggioli wrote:
> 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.
> 
> Fixes: 7d2778dea3 hw/i386/pc: Remove deprecated pc-q35/pc-i440fx/xenfv 3.1 machines
> Signed-off-by: Dario Faggioli <dfaggioli@suse.com>
> ---
>  hw/i386/pc_piix.c | 1 +
>  1 file changed, 1 insertion(+)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] hw/i386/pc: xen: reinstate the "xenfv" machine alias
  2026-07-30 16:27 ` Daniel P. Berrangé
@ 2026-07-30 18:51   ` Stefano Stabellini
  0 siblings, 0 replies; 3+ messages in thread
From: Stefano Stabellini @ 2026-07-30 18:51 UTC (permalink / raw)
  To: Daniel P. Berrangé
  Cc: Dario Faggioli, qemu-devel, philmd, xen-devel, sstabellini,
	anthony, paul, Paolo Bonzini, Richard Henderson,
	Michael S. Tsirkin

[-- Attachment #1: Type: text/plain, Size: 995 bytes --]

On Thu, 30 Jul 2026, Daniel P. Berrangé wrote:
> On Thu, Jul 30, 2026 at 06:22:38PM +0200, Dario Faggioli wrote:
> > 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.
> > 
> > Fixes: 7d2778dea3 hw/i386/pc: Remove deprecated pc-q35/pc-i440fx/xenfv 3.1 machines
> > Signed-off-by: Dario Faggioli <dfaggioli@suse.com>
> > ---
> >  hw/i386/pc_piix.c | 1 +
> >  1 file changed, 1 insertion(+)
> 
> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>

Acked-by: Stefano Stabellini <sstabellini@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-07-30 18:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-30 16:22 [PATCH] hw/i386/pc: xen: reinstate the "xenfv" machine alias Dario Faggioli
2026-07-30 16:27 ` Daniel P. Berrangé
2026-07-30 18:51   ` Stefano Stabellini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.