[Spice-devel] [PATCH] add QXL_SURF_FLAG_KEEP_DATA
Gerd Hoffmann
kraxel at redhat.com
Tue May 18 08:29:03 PDT 2010
Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
---
spice/qxl_dev.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h
index 80e5e08..6182953 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -155,7 +155,9 @@ typedef struct SPICE_ATTR_PACKED QXLMemSlot {
uint64_t mem_end;
} QXLMemSlot;
-#define QXL_SURF_TYPE_PRIMARY 0
+#define QXL_SURF_TYPE_PRIMARY 0
+
+#define QXL_SURF_FLAG_KEEP_DATA (1 << 0)
typedef struct SPICE_ATTR_PACKED QXLSurfaceCreate {
uint32_t width;
--
1.6.6.1
More information about the Spice-devel
mailing list