[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-stable] [PULL 2/5] hw/ppc/spapr: Remove duplicated "pseries" alias
From: |
David Gibson |
Subject: |
[Qemu-stable] [PULL 2/5] hw/ppc/spapr: Remove duplicated "pseries" alias |
Date: |
Mon, 30 Nov 2015 19:44:42 +1100 |
From: Thomas Huth <address@hidden>
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 <address@hidden>
Signed-off-by: David Gibson <address@hidden>
---
hw/ppc/spapr.c | 2 --
1 file changed, 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;
}
--
2.5.0
- [Qemu-stable] [PULL 0/5] ppc-for-2.5 queue 20151130, David Gibson, 2015/11/30
- [Qemu-stable] [PULL 2/5] hw/ppc/spapr: Remove duplicated "pseries" alias,
David Gibson <=
- [Qemu-stable] [PULL 1/5] mac_dbdma: always initialize channel field in DBDMA_channel, David Gibson, 2015/11/30
- [Qemu-stable] [PULL 3/5] hw/ppc/ppc405_boards: Fix infinite recursion by converting taihu_cpld from old_mmio, David Gibson, 2015/11/30
- [Qemu-stable] [PULL 4/5] target-ppc: Move the FPSCR bit update macros to cpu.h, David Gibson, 2015/11/30
- [Qemu-stable] [PULL 5/5] target-ppc/fpu_helper: fix FPSCR_FX bit shift operation, David Gibson, 2015/11/30
- Re: [Qemu-stable] [PULL 0/5] ppc-for-2.5 queue 20151130, Peter Maydell, 2015/11/30