qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] qxl: Default to PCI revision 4 when spice-server is


From: Søren Sandmann
Subject: [Qemu-devel] [PATCH] qxl: Default to PCI revision 4 when spice-server is new enough
Date: Wed, 3 Oct 2012 13:57:57 -0400

From: Søren Sandmann Pedersen <address@hidden>

When spice-server is newer than 0.12.0, the default revision should be
QXL_REVISION_STABLE_V12.

Signed-off-by: Soren Sandmann <address@hidden>
---
 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
-- 
1.7.4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]