vd_agent: Add some documentation

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Victor Toso <victortoso@redhat.com>
This commit is contained in:
Frediano Ziglio 2020-03-26 09:30:55 +00:00 committed by Frediano Ziglio
parent 5ab1474cb5
commit dcf21aafb9

View File

@ -47,9 +47,12 @@ typedef struct SPICE_ATTR_PACKED VDIChunkHeader {
} VDIChunkHeader;
typedef struct SPICE_ATTR_PACKED VDAgentMessage {
/* Should be VD_AGENT_PROTOCOL */
uint32_t protocol;
/* One of VD_AGENT_xxx in the enumeration below */
uint32_t type;
uint64_t opaque;
/* Size of data following */
uint32_t size;
uint8_t data[0];
} VDAgentMessage;