[spice-protocol PATCH 1/2] qxl_dev.h: add guest capabilities

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

 



guest can advertise it's capabilities to the host. The caps are stored on
the guest ram header, there is a fixed maximum of 512 caps.

Any change is advertised with a new io QXL_IO_CAPABILITIES_SET.
---
 spice/qxl_dev.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h
index 50784dc..5de0eb8 100644
--- a/spice/qxl_dev.h
+++ b/spice/qxl_dev.h
@@ -96,6 +96,7 @@ enum {
     QXL_IO_FLUSH_RELEASE,
     /* appended for qxl-4 */
     QXL_IO_MONITORS_CONFIG_ASYNC,
+    QXL_IO_CAPABILITIES_SET,
 
     QXL_IO_RANGE_SIZE
 };
@@ -255,7 +256,7 @@ typedef struct SPICE_ATTR_PACKED QXLRam {
 
     /* used by QXL_IO_MONITORS_CONFIG_ASYNC */
     QXLPHYSICAL monitors_config;
-
+    uint8_t guest_capabilities[64];
 } QXLRam;
 
 typedef union QXLReleaseInfo {
-- 
1.7.12

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://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]