From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nke3G-0007ZC-At for qemu-devel@nongnu.org; Thu, 25 Feb 2010 08:46:50 -0500 Received: from [199.232.76.173] (port=48905 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nke3F-0007Ys-VK for qemu-devel@nongnu.org; Thu, 25 Feb 2010 08:46:49 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nke3E-0000ut-RK for qemu-devel@nongnu.org; Thu, 25 Feb 2010 08:46:49 -0500 Received: from mx1.redhat.com ([209.132.183.28]:24700) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nke3E-0000uj-Dn for qemu-devel@nongnu.org; Thu, 25 Feb 2010 08:46:48 -0500 From: Amit Shah Date: Thu, 25 Feb 2010 19:15:20 +0530 Message-Id: <1267105520-25457-4-git-send-email-amit.shah@redhat.com> In-Reply-To: <1267105520-25457-3-git-send-email-amit.shah@redhat.com> References: <1267105520-25457-1-git-send-email-amit.shah@redhat.com> <1267105520-25457-2-git-send-email-amit.shah@redhat.com> <1267105520-25457-3-git-send-email-amit.shah@redhat.com> Subject: [Qemu-devel] [PATCH 3/3] s390-virtio: Disable new virtio-serial features for 0.12 machine type List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Amit Shah , agraf@suse.de 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/s390-virtio.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/hw/s390-virtio.c b/hw/s390-virtio.c index a3cbfb6..f027521 100644 --- a/hw/s390-virtio.c +++ b/hw/s390-virtio.c @@ -263,6 +263,18 @@ static QEMUMachine s390_machine_v0_12 = { .use_virtcon = 1, .no_vga = 1, .max_cpus = 255, + .compat_props = (GlobalProperty[]) { + { + .driver = "virtio-serial-s390", + .property = "max_nr_ports", + .value = stringify(1), + },{ + .driver = "virtio-serial-s390", + .property = "vectors", + .value = stringify(0), + }, + { /* end of list */ } + }, }; static void s390_machine_init(void) -- 1.6.2.5