* [Qemu-devel] [PATCH for-2.5] hw/ppc/spapr: Remove duplicated "pseries" alias
@ 2015-11-23 16:13 Thomas Huth
2015-11-23 23:51 ` David Gibson
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Huth @ 2015-11-23 16:13 UTC (permalink / raw)
To: David Gibson, qemu-ppc; +Cc: qemu-devel
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>
---
hw/ppc/spapr.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 030ee35..32e595b 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -2422,8 +2422,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;
}
--
1.8.3.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH for-2.5] hw/ppc/spapr: Remove duplicated "pseries" alias
2015-11-23 16:13 [Qemu-devel] [PATCH for-2.5] hw/ppc/spapr: Remove duplicated "pseries" alias Thomas Huth
@ 2015-11-23 23:51 ` David Gibson
0 siblings, 0 replies; 2+ messages in thread
From: David Gibson @ 2015-11-23 23:51 UTC (permalink / raw)
To: Thomas Huth; +Cc: qemu-ppc, qemu-devel
[-- Attachment #1: Type: text/plain, Size: 802 bytes --]
On Mon, Nov 23, 2015 at 05:13:37PM +0100, Thomas Huth wrote:
> 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>
Applied to ppc-for-2.5, thanks.
I'll try to send a pull request for the couple of outstanding patches
against 2.5 today.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-24 0:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-23 16:13 [Qemu-devel] [PATCH for-2.5] hw/ppc/spapr: Remove duplicated "pseries" alias Thomas Huth
2015-11-23 23:51 ` David Gibson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).