arm: fix machine description
PATCH 1/1 arm: fix machine description
Fix what is clearly a copy-and-paste bug.
Fixes c29196904b ("target-arm: Add virt class and machine types").
Cc Greg Bellows <[email protected]>
Signed-off-by Michael S. Tsirkin <[email protected]>
--- hw/arm/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/virt.c +1 -1
@@ -1382,7 +1382,7 @@ static void virt_class_init(ObjectClass *oc, void *data) {MachineClass *mc =MACHINE_CLASS (oc); - mc->desc ="ARM Virtual Machine" , + mc->desc ="ARM Virtual Machine" ; mc->init = machvirt_init;/* Start max_cpus at the maximum QEMU supports. We'll further restrict * it later in machvirt_init, where we have more information about the
Signature · 1 line
MST
Quoted 14 lines · Michael S. Tsirkin
Fix what is clearly a copy-and-paste bug.
Fixes c29196904b ("target-arm: Add virt class and machine types").Cc Greg Bellows <[email protected]>Signed-off-by Michael S. Tsirkin <[email protected]>--- hw/arm/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/arm/virt.c +0
-0
hw/arm/virt.c static void virt_class_init(ObjectClass *oc, void *data) · line 1388
Quoted 8 lines
hw/arm/virt.c +1
-1@@ -1382,7 +1382,7 @@ static void virt_class_init(ObjectClass *oc, void *data) {MachineClass *mc =MACHINE_CLASS (oc); - mc->desc ="ARM Virtual Machine" , + mc->desc ="ARM Virtual Machine" ; mc->init = machvirt_init;/* Start max_cpus at the maximum QEMU supports. We'll further restrict * it later in machvirt_init, where we have more information about the
Hi; this bug (not actually one with any visible ill effects) is fixed in passing by Wei's "arm: virt: Add an abstract ARM virt machine type" patch which I have queued in target-arm.next.
thanks
-- PMM