hw/arm/aspeed: Remove ast2700fc self-aliasing
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")
Signed-off-by Philippe Mathieu-Daudé <[email protected]>
--- hw/arm/aspeed_ast27x0-fc.c | 1 - 1 file changed, 1 deletion(-)
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 ;
Signature · 1 line
2.51.0
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 supportFixes a74faf35efc ("hw/arm: Introduce ASPEED AST2700 A1 full core machine")Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- hw/arm/aspeed_ast27x0-fc.c | 1 - 1 file changed, 1 deletion(-)hw/arm/aspeed_ast27x0-fc.c +0
-0
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 ;
Reviewed-by Cédric Le Goater <[email protected]>
Thanks,
C.
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 supportFixes a74faf35efc ("hw/arm: Introduce ASPEED AST2700 A1 full core machine")Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- hw/arm/aspeed_ast27x0-fc.c | 1 - 1 file changed, 1 deletion(-)
Merged as commit d7bd42a740d0e8887540d7b450d0bdb2d6ba31ea, thanks!