qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] qxl: Default to PCI revision 4 when spice-server is new enough
@ 2012-10-03 17:57 Søren Sandmann
  2012-10-04  9:44 ` Paolo Bonzini
  0 siblings, 1 reply; 8+ messages in thread
From: Søren Sandmann @ 2012-10-03 17:57 UTC (permalink / raw)
  To: qemu-devel; +Cc: kraxel, Søren Sandmann Pedersen

From: Søren Sandmann Pedersen <ssp@redhat.com>

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

Signed-off-by: Soren Sandmann <ssp@redhat.com>
---
 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

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-10-08  7:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-03 17:57 [Qemu-devel] [PATCH] qxl: Default to PCI revision 4 when spice-server is new enough Søren Sandmann
2012-10-04  9:44 ` Paolo Bonzini
2012-10-04 17:31   ` Søren Sandmann
2012-10-04 17:37     ` [Qemu-devel] [PATCH] Require spice-server 0.12.0 and spice-protocol 0.12.2 Søren Sandmann
2012-10-05  7:25       ` Paolo Bonzini
2012-10-05 14:02         ` Søren Sandmann
2012-10-08  7:33       ` Gerd Hoffmann
2012-10-05  7:21     ` [Qemu-devel] [PATCH] qxl: Default to PCI revision 4 when spice-server is new enough Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).