From: Yuri Benditovich <Yuri Benditovich yuri.benditovich@xxxxxxxxxx> Extended QXLRom structure to keep current mouse mode. Added interrupt status bit to indicate mouse mode change to guest. Signed-off-by: Yuri Benditovich <Yuri Benditovich yuri.benditovich@xxxxxxxxxx> --- spice/qxl_dev.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h index 9e753c4..487724d 100644 --- a/spice/qxl_dev.h +++ b/spice/qxl_dev.h @@ -165,6 +165,8 @@ typedef struct SPICE_ATTR_PACKED QXLRom { uint16_t padding; QXLURect heads[64]; } client_monitors_config; + /* appended for qxl-5 */ + uint32_t mouse_mode; } QXLRom; #define CLIENT_MONITORS_CONFIG_CRC32_POLY 0xedb88320 @@ -251,6 +253,7 @@ SPICE_RING_DECLARE(QXLReleaseRing, uint64_t, QXL_RELEASE_RING_SIZE); #define QXL_INTERRUPT_ERROR (1 << 3) #define QXL_INTERRUPT_CLIENT (1 << 4) #define QXL_INTERRUPT_CLIENT_MONITORS_CONFIG (1 << 5) +#define QXL_INTERRUPT_MOUSE_MODE_CHANGE (1 << 6) /* qxl-1 compat: append only */ typedef struct SPICE_ATTR_PACKED QXLRam { -- 2.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel