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 | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/spice/qxl_windows.h b/spice/qxl_windows.h index bc2ceff..89aeac9 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 { @@ -11,11 +11,18 @@ enum { }; typedef struct SPICE_ATTR_PACKED QXLEscapeSetCustomDisplay { - uint32_t xres; - uint32_t yres; - uint32_t bpp; + uint32_t _xres; + uint32_t _yres; + uint32_t _bpp; } QXLEscapeSetCustomDisplay; +typedef struct SPICE_ATTR_PACKED QXL_ESCAPE { + uint32_t _ioctl; + union { + QXLEscapeSetCustomDisplay _custom_display; + QXLHead _monitor_config; + }; +} QXL_ESCAPE; #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