From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55235) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZVwQ8-0002Fe-Jg for qemu-devel@nongnu.org; Sun, 30 Aug 2015 02:48:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZVwQ4-0000Bi-Oy for qemu-devel@nongnu.org; Sun, 30 Aug 2015 02:48:52 -0400 Date: Sun, 30 Aug 2015 16:46:50 +1000 From: David Gibson Message-ID: <20150830064650.GG11475@voom.redhat.com> References: <1440107676-17326-1-git-send-email-ehabkost@redhat.com> <1440107676-17326-9-git-send-email-ehabkost@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+1TulI7fc0PCHNy3" Content-Disposition: inline In-Reply-To: <1440107676-17326-9-git-send-email-ehabkost@redhat.com> Subject: Re: [Qemu-devel] [PATCH 08/10] mac99: Use MACHINE_TYPE_NAME to encode class name List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eduardo Habkost Cc: Alexander Graf , Marcel Apfelbaum , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, Andreas =?iso-8859-1?Q?F=E4rber?= --+1TulI7fc0PCHNy3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 20, 2015 at 02:54:34PM -0700, Eduardo Habkost wrote: > It will result in exactly the same class name, but it will make the code > consistent with the other classes. >=20 > Cc: Alexander Graf > Cc: qemu-ppc@nongnu.org > Signed-off-by: Eduardo Habkost Reviewed-by: David Gibson > --- > hw/ppc/mac_newworld.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/hw/ppc/mac_newworld.c b/hw/ppc/mac_newworld.c > index 77d5c81..a6b8209 100644 > --- a/hw/ppc/mac_newworld.c > +++ b/hw/ppc/mac_newworld.c > @@ -517,7 +517,7 @@ static void core99_machine_class_init(ObjectClass *oc= , void *data) > } > =20 > static const TypeInfo core99_machine_info =3D { > - .name =3D "mac99-machine", > + .name =3D MACHINE_TYPE_NAME("mac99"), > .parent =3D TYPE_MACHINE, > .class_init =3D core99_machine_class_init, > }; --=20 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 --+1TulI7fc0PCHNy3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJV4qbaAAoJEGw4ysog2bOSOIAP+wR4ukIq3U9s9siwYgA8LOUM YGc65Fvbwgf2YSKtWZYqrHttLk3DwztytGNXqPRpiEJVI1STDKZ6j9RwWfIi3Cne cC8QmWWypAahwKKQ3Rc3TXebSbQ4Hz+cqAJxPHzAeDrO6qtGVavmKZY28Wu9IEQj ThhXFLbbv9Of+f9BL+6I255+Rqg9Y/K2/I/AjDLbcDjxpBlSSmdfohVuRqeWRrzK /P+W9FaDphFscHrgqSiG5D+aaGeR75pXPS88eTvViYhylJ1D1Gf+6TTevtDvZKKX PcYBpRxJEbaDVANMiD0p5j00RvbYkcM6j9qN58ey3jAW28Gto/bzglsLtFMSatpq 2nfasfdVLxPqNeXxgoAIDhCmaMGq/c16XkuIeh48yeqGDpWPFhWgz2CKcVYitlbz 1cnEq4VKEgdSe97AlVzQAeHSXCf4tfSmauJ21K1gIrt2/8HFUaKS4ddM/wYeJ6ZP HAdV/5xHmvCbFC1dMWOur3tDCJ/ZicSutOfgOgmvjSmeV3eAqJbWqfaLfJUM7fbD ojFw4qYHeV85KODs9cU+qZWOBhlT0NPswcM7jz7KBI5XJ14LzBlBWSq8rlpp+B7/ XZ+x7ptle8wNtB2qFJLRhzi8f2q/2H9bYAHdgvBl8i9/D3HVr9u05Pt+gcq5OKh/ eHLj8ddXLHrVXIaO1Q+j =oRLe -----END PGP SIGNATURE----- --+1TulI7fc0PCHNy3--