Skip to contentSkip to conversation

hw/arm/aspeed: Remove ast2700fc self-aliasing

PATCH In review Philippe Mathieu-Daudé 2 participants 3 messages Oct 21, 2025 – Oct 27, 2025 Arm/Aspeed machine support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/arm/aspeed: Remove ast2700fc self-aliasing

Remove pointless alias to the very same machine:

  $ qemu-system-aarch64 -M help | fgrep ast2700fc
  ast2700fc            ast2700 full core support (alias of ast2700fc)
  ast2700fc            ast2700 full core support
Fixes a74faf35efc ("hw/arm: Introduce ASPEED AST2700 A1 full core machine")
---
 hw/arm/aspeed_ast27x0-fc.c | 1 -
 1 file changed, 1 deletion(-)
hw/arm/aspeed_ast27x0-fc.c +0 -1
index a61ecff3909..463dd30cc5d 100644
@@ -180,7 +180,6 @@ static void ast2700fc_class_init(ObjectClass *oc, const void *data)
 {
     MachineClass *mc = MACHINE_CLASS(oc);
 
-    mc->alias = "ast2700fc";
     mc->desc = "ast2700 full core support";
     mc->init = ast2700fc_init;
     mc->no_floppy = 1;
Signature · 1 line
2.51.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 17 lines · Philippe Mathieu-Daudé

Remove pointless alias to the very same machine:

   $ qemu-system-aarch64 -M help | fgrep ast2700fc
   ast2700fc            ast2700 full core support (alias of ast2700fc)
   ast2700fc            ast2700 full core support
Fixes a74faf35efc ("hw/arm: Introduce ASPEED AST2700 A1 full core machine")
---
  hw/arm/aspeed_ast27x0-fc.c | 1 -
  1 file changed, 1 deletion(-)
hw/arm/aspeed_ast27x0-fc.c +0 -0
index a61ecff3909..463dd30cc5d 100644

hw/arm/aspeed_ast27x0-fc.c static void ast2700fc_class_init(ObjectClass *oc, const void *data) · line 185

Quoted 7 lines
hw/arm/aspeed_ast27x0-fc.c +0 -1
@@ -180,7 +180,6 @@ static void ast2700fc_class_init(ObjectClass *oc, const void *data)
  {
      MachineClass *mc = MACHINE_CLASS(oc);
 
-    mc->alias = "ast2700fc";
      mc->desc = "ast2700 full core support";
      mc->init = ast2700fc_init;
      mc->no_floppy = 1;

Thanks,

C.

#2 lore raw
In reply to Philippe Mathieu-Daudé
Quoted 11 lines · Philippe Mathieu-Daudé

Remove pointless alias to the very same machine:

   $ qemu-system-aarch64 -M help | fgrep ast2700fc
   ast2700fc            ast2700 full core support (alias of ast2700fc)
   ast2700fc            ast2700 full core support
Fixes a74faf35efc ("hw/arm: Introduce ASPEED AST2700 A1 full core machine")
---
  hw/arm/aspeed_ast27x0-fc.c | 1 -
  1 file changed, 1 deletion(-)

Merged as commit d7bd42a740d0e8887540d7b450d0bdb2d6ba31ea, thanks!