From patchwork Sun Nov 13 13:27:51 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alon Levy X-Patchwork-Id: 125401 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 6109EB71EA for ; Mon, 14 Nov 2011 00:28:06 +1100 (EST) Received: from localhost ([::1]:42233 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPa6L-0003xz-NR for incoming@patchwork.ozlabs.org; Sun, 13 Nov 2011 08:28:01 -0500 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 Received: from garlic.tlv.redhat.com (dhcp-3-73.tlv.redhat.com [10.35.3.73]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id pADDRpAB023587; Sun, 13 Nov 2011 08:27:52 -0500 From: Alon Levy To: kraxel@redhat.com Date: Sun, 13 Nov 2011 15:27:51 +0200 Message-Id: <1321190871-22769-1-git-send-email-alevy@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 209.132.183.28 Cc: qemu-devel@nongnu.org, avi@redhat.com Subject: [Qemu-devel] [RFC 1.0] pc_piix: set qxl revision to 2 for pc-0.14 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 = {