Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1No213-0002WQ-EZ for qemu-devel@nongnu.org; Sat, 06 Mar 2010 16:58:33 -0500 Received: from [199.232.76.173] (port=41944 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1No213-0002WE-3F for qemu-devel@nongnu.org; Sat, 06 Mar 2010 16:58:33 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1No211-0000oh-LI for qemu-devel@nongnu.org; Sat, 06 Mar 2010 16:58:32 -0500 Received: from hall.aurel32.net ([88.191.82.174]:33064) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1No211-0000oT-7G for qemu-devel@nongnu.org; Sat, 06 Mar 2010 16:58:31 -0500 Date: Sat, 6 Mar 2010 22:58:22 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH 1/2] ppc440_bamboo: Add 0.12 and 0.13 machine types for backward compat Message-ID: <20100306215822.GL14275@volta.aurel32.net> References: <1267106172-28011-1-git-send-email-amit.shah@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1267106172-28011-1-git-send-email-amit.shah@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah Cc: qemu-devel@nongnu.org On Thu, Feb 25, 2010 at 07:26:11PM +0530, Amit Shah wrote: > Add a 0.12 machine type for compatibility with older versions. Mark the > default one as 0.13. > > Signed-off-by: Amit Shah Thanks, applied. > --- > hw/ppc440_bamboo.c | 11 ++++++++++- > 1 files changed, 10 insertions(+), 1 deletions(-) > > diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c > index 1ab9872..aa9f594 100644 > --- a/hw/ppc440_bamboo.c > +++ b/hw/ppc440_bamboo.c > @@ -172,7 +172,15 @@ static void bamboo_init(ram_addr_t ram_size, > } > > static QEMUMachine bamboo_machine = { > - .name = "bamboo", > + .name = "bamboo-0.13", > + .alias = "bamboo", > + .desc = "bamboo", > + .init = bamboo_init, > + .is_default = 1, > +}; > + > +static QEMUMachine bamboo_machine_v0_12 = { > + .name = "bamboo-0.12", > .desc = "bamboo", > .init = bamboo_init, > }; > @@ -180,6 +188,7 @@ static QEMUMachine bamboo_machine = { > static void bamboo_machine_init(void) > { > qemu_register_machine(&bamboo_machine); > + qemu_register_machine(&bamboo_machine_v0_12); > } > > machine_init(bamboo_machine_init); > -- > 1.6.2.5 > > > > -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net