From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:54792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPa6G-0003xd-8K for qemu-devel@nongnu.org; Sun, 13 Nov 2011 08:27:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RPa6F-0007yJ-H0 for qemu-devel@nongnu.org; Sun, 13 Nov 2011 08:27:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPa6E-0007y4-WD for qemu-devel@nongnu.org; Sun, 13 Nov 2011 08:27:55 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id pADDRrwu003545 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 13 Nov 2011 08:27:53 -0500 From: Alon Levy Date: Sun, 13 Nov 2011 15:27:51 +0200 Message-Id: <1321190871-22769-1-git-send-email-alevy@redhat.com> Subject: [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kraxel@redhat.com Cc: qemu-devel@nongnu.org, avi@redhat.com The default is still 3, and I didn't change older machine types. Signed-off-by: Alon Levy --- Is there a better way then copy pasting this to the older pc types to get the revision == 2 for them as well? hw/pc_piix.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 27ea570..970f43c 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -311,6 +311,18 @@ static QEMUMachine pc_machine_v0_14 = { .desc = "Standard PC", .init = pc_init_pci, .max_cpus = 255, + .compat_props = (GlobalProperty[]) { + { + .driver = "qxl", + .property = "revision", + .value = stringify(2), + },{ + .driver = "qxl-vga", + .property = "revision", + .value = stringify(2), + }, + { /* end of list */ } + }, }; static QEMUMachine pc_machine_v0_13 = { -- 1.7.7.3