diff options
author | Thomas Huth <thuth@redhat.com> | 2015-11-23 17:13:37 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2015-11-30 19:39:00 +1100 |
commit | 9b7a70e63e7b59f2444aff9399f9b482f55b8f9e (patch) | |
tree | 3057a5389ca7f08efa60735d3c7b6ebc74326dac /hw/ppc/spapr.c | |
parent | 7f0d763ce60fd0563cb71c85ae0f86ee71b7edcc (diff) | |
download | hqemu-9b7a70e63e7b59f2444aff9399f9b482f55b8f9e.zip hqemu-9b7a70e63e7b59f2444aff9399f9b482f55b8f9e.tar.gz |
hw/ppc/spapr: Remove duplicated "pseries" alias
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>
Diffstat (limited to 'hw/ppc/spapr.c')
-rw-r--r-- | hw/ppc/spapr.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 3bb8bcd..6bfb908 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -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; } |