hw/ppc/spapr: Remove duplicated "pseries" alias
authorThomas Huth <thuth@redhat.com>
Mon, 23 Nov 2015 16:13:37 +0000 (17:13 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 30 Nov 2015 08:39:00 +0000 (19:39 +1100)
The "pseries" alias is currently set twice, one time for the
pseries-2.4 machine and one time for the "pseries-2.5" machine.
To avoid confusion with the alias, let's remove the one from
the older machine class. And while we're at it, also remove
the "is_default = 0" there since the is_default variable
should be set to zero by default already.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c

index 3bb8bcda4fe0c1795967616891058aeba0bd31e3..6bfb908da7e9c5db3e99aaef70c8b6bb0c375c43 100644 (file)
@@ -2423,8 +2423,6 @@ static void spapr_machine_2_4_class_init(ObjectClass *oc, void *data)
     MachineClass *mc = MACHINE_CLASS(oc);
 
     mc->desc = "pSeries Logical Partition (PAPR compliant) v2.4";
-    mc->alias = "pseries";
-    mc->is_default = 0;
     mc->compat_props = compat_props;
 }