diff mbox

arm: fix machine description

Message ID 1458143333-25769-1-git-send-email-mst@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michael S. Tsirkin March 16, 2016, 3:48 p.m. UTC
Fix what is clearly a copy-and-paste bug.

Fixes: c29196904b ("target-arm: Add virt class and machine types").
Cc: Greg Bellows <greg.bellows@linaro.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 hw/arm/virt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Peter Maydell March 16, 2016, 3:51 p.m. UTC | #1
On 16 March 2016 at 15:48, Michael S. Tsirkin <mst@redhat.com> wrote:
> Fix what is clearly a copy-and-paste bug.
>
> Fixes: c29196904b ("target-arm: Add virt class and machine types").
> Cc: Greg Bellows <greg.bellows@linaro.org>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
> ---
>  hw/arm/virt.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/arm/virt.c b/hw/arm/virt.c
> index 8c6c996..9cf94e9 100644
> --- a/hw/arm/virt.c
> +++ b/hw/arm/virt.c
> @@ -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
diff mbox

Patch

diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 8c6c996..9cf94e9 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -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