From patchwork Wed Oct 3 17:57:57 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: qxl: Default to PCI revision 4 when spice-server is new enough Date: Wed, 03 Oct 2012 07:57:57 -0000 From: =?utf-8?b?U8O4cmVuIFNhbmRtYW5uIDxzYW5kbWFubkBjcy5hdS5kaz4=?= X-Patchwork-Id: 188873 Message-Id: <1349287077-10062-1-git-send-email-sandmann@cs.au.dk> To: qemu-devel@nongnu.org Cc: kraxel@redhat.com, =?UTF-8?q?S=C3=B8ren=20Sandmann=20Pedersen?= From: Søren 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) -#if 0 -/* spice-server 0.12 is still in development */ +#if SPICE_SERVER_VERSION >= 0x000c00 /* 0x000c00 == 0.12.0 */ #define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V12 #else #define QXL_DEFAULT_REVISION QXL_REVISION_STABLE_V10