From patchwork Thu Feb 25 13:56:12 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Shah X-Patchwork-Id: 46241 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id DC5F6B7CB6 for ; Fri, 26 Feb 2010 01:11:41 +1100 (EST) Received: from localhost ([127.0.0.1]:59595 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkeGa-0002Wa-OF for incoming@patchwork.ozlabs.org; Thu, 25 Feb 2010 09:00:36 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NkeDg-0001xs-3W for qemu-devel@nongnu.org; Thu, 25 Feb 2010 08:57:36 -0500 Received: from [199.232.76.173] (port=47366 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkeDf-0001xi-Mp for qemu-devel@nongnu.org; Thu, 25 Feb 2010 08:57:35 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NkeDe-00020y-HP for qemu-devel@nongnu.org; Thu, 25 Feb 2010 08:57:35 -0500 Received: from mx1.redhat.com ([209.132.183.28]:16404) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NkeDe-00020m-3m for qemu-devel@nongnu.org; Thu, 25 Feb 2010 08:57:34 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o1PDvXo5024633 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 25 Feb 2010 08:57:33 -0500 Received: from localhost (vpn-233-100.phx2.redhat.com [10.3.233.100]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o1PDvVk8027963; Thu, 25 Feb 2010 08:57:32 -0500 From: Amit Shah To: qemu-devel@nongnu.org Date: Thu, 25 Feb 2010 19:26:12 +0530 Message-Id: <1267106172-28011-2-git-send-email-amit.shah@redhat.com> In-Reply-To: <1267106172-28011-1-git-send-email-amit.shah@redhat.com> References: <1267106172-28011-1-git-send-email-amit.shah@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Amit Shah Subject: [Qemu-devel] [PATCH 2/2] ppc440_bamboo: Disable new virtio-serial features for 0.12 machine type X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 --- 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)