Skip to contentSkip to conversation

arm: fix machine description

PATCH In review Michael S. Tsirkin 2 participants 2 messages Mar 16, 2016

lore
Share & tools
lore
#0 lore raw

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]>
---
 hw/arm/virt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/virt.c +1 -1
index 8c6c996..9cf94e9 100644
@@ -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
#1 lore raw
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]>
---
 hw/arm/virt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/virt.c +0 -0
index 8c6c996..9cf94e9 100644

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