[PATCH v4] Add ioctls structures to qxl_windows.h

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

 



This patch defines the structures of ioctls that are used between
win-vdagent and the qxl-wddm-dod driver.

Signed-off-by: Sameeh Jubran <sameeh@xxxxxxxxxx>
---
 spice/qxl_windows.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/spice/qxl_windows.h b/spice/qxl_windows.h
index bc2ceff..9a98435 100644
--- a/spice/qxl_windows.h
+++ b/spice/qxl_windows.h
@@ -2,7 +2,7 @@
 #define _H_QXL_WINDOWS
 
 #include <spice/types.h>
-
+#include <spice/qxl_dev.h>
 #include <spice/start-packed.h>
 
 enum {
@@ -16,6 +16,11 @@ typedef struct SPICE_ATTR_PACKED QXLEscapeSetCustomDisplay {
     uint32_t bpp;
 } QXLEscapeSetCustomDisplay;
 
+typedef struct SPICE_ATTR_PACKED QXLEscape {
+    int ioctl;
+    uint32_t data[0];
+} QXLEscape;
+
 #include <spice/end-packed.h>
 
 #endif /* _H_QXL_WINDOWS */
-- 
2.7.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]