diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2019-08-13 10:50:08 +0100 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2019-08-22 13:30:26 +0100 |
commit | 7d28c75ba69983888aedaae93b80f9068513c655 (patch) | |
tree | 937f8df43e78ca7686f8120991a354c542718749 | |
parent | 22f1b1297b3e056b50ce3cc0180710797aea270c (diff) |
qxl_dev: Add comment to QXLQUICData->data field
Recently a bug using this structure was fixed.
The bug involved understand the usage of this field so add some
note on the field for future reference.
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Victor Toso <victortoso@redhat.com>
-rw-r--r-- | spice/qxl_dev.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spice/qxl_dev.h b/spice/qxl_dev.h index c844d7b..3f56aae 100644 --- a/spice/qxl_dev.h +++ b/spice/qxl_dev.h @@ -740,6 +740,9 @@ typedef struct SPICE_ATTR_PACKED QXLSurfaceId { typedef struct SPICE_ATTR_PACKED QXLQUICData { uint32_t data_size; + /* This data for QUIC is a QXLDataChunk. + * This differs from QXLBitmap where it's a reference to bitmap data or + * a reference to QXLDataChunk */ uint8_t data[0]; } QXLQUICData, QXLLZRGBData, QXLJPEGData; |