From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJTAL-0000eC-UO for qemu-devel@nongnu.org; Wed, 03 Oct 2012 13:55:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJTAK-00011B-35 for qemu-devel@nongnu.org; Wed, 03 Oct 2012 13:55:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJTAJ-0000yV-R6 for qemu-devel@nongnu.org; Wed, 03 Oct 2012 13:55:24 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q93HtKHV006242 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 3 Oct 2012 13:55:21 -0400 From: =?UTF-8?q?S=C3=B8ren=20Sandmann?= Date: Wed, 3 Oct 2012 13:57:57 -0400 Message-Id: <1349287077-10062-1-git-send-email-sandmann@cs.au.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH] qxl: Default to PCI revision 4 when spice-server is new enough List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kraxel@redhat.com, =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= From: S=C3=B8ren Sandmann Pedersen When spice-server is newer than 0.12.0, the default revision should be QXL_REVISION_STABLE_V12. Signed-off-by: Soren Sandmann --- hw/qxl.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/hw/qxl.h b/hw/qxl.h index 5553824..4460bb2 100644 --- a/hw/qxl.h +++ b/hw/qxl.h @@ -129,8 +129,7 @@ typedef struct PCIQXLDevice { } = \ } while (0) =20 -#if 0 -/* spice-server 0.12 is still in development */ +#if SPICE_SERVER_VERSION >=3D 0x000c00 /* 0x000c00 =3D=3D 0.12.0 */ #define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V12 #else #define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V10 --=20 1.7.4