Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1No21G-0002bl-1h for qemu-devel@nongnu.org; Sat, 06 Mar 2010 16:58:46 -0500 Received: from [199.232.76.173] (port=41953 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1No21F-0002bU-GT for qemu-devel@nongnu.org; Sat, 06 Mar 2010 16:58:45 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1No21E-0000qu-0K for qemu-devel@nongnu.org; Sat, 06 Mar 2010 16:58:45 -0500 Received: from hall.aurel32.net ([88.191.82.174]:33066) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1No21D-0000qk-KY for qemu-devel@nongnu.org; Sat, 06 Mar 2010 16:58:43 -0500 Date: Sat, 6 Mar 2010 22:58:34 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH 2/2] ppc440_bamboo: Disable new virtio-serial features for 0.12 machine type Message-ID: <20100306215834.GM14275@volta.aurel32.net> References: <1267106172-28011-1-git-send-email-amit.shah@redhat.com> <1267106172-28011-2-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-2-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:12PM +0530, Amit Shah wrote: > Disable the MULTIPORT feature and MSI vectors for the 0.12 machine > types; those features are added only for 0.13 onwards. > > Signed-off-by: Amit Shah Thanks, applied. > --- > hw/ppc440_bamboo.c | 12 ++++++++++++ > 1 files changed, 12 insertions(+), 0 deletions(-) > > diff --git a/hw/ppc440_bamboo.c b/hw/ppc440_bamboo.c > index aa9f594..db96f14 100644 > --- a/hw/ppc440_bamboo.c > +++ b/hw/ppc440_bamboo.c > @@ -183,6 +183,18 @@ static QEMUMachine bamboo_machine_v0_12 = { > .name = "bamboo-0.12", > .desc = "bamboo", > .init = bamboo_init, > + .compat_props = (GlobalProperty[]) { > + { > + .driver = "virtio-serial-pci", > + .property = "max_nr_ports", > + .value = stringify(1), > + },{ > + .driver = "virtio-serial-pci", > + .property = "vectors", > + .value = stringify(0), > + }, > + { /* end of list */ } > + }, > }; > > static void bamboo_machine_init(void) > -- > 1.6.2.5 > > > > -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net