> > This message is specified to have a size limit of 1024, so provide this > as a #define > --- > spice/stream-device.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/spice/stream-device.h b/spice/stream-device.h > index bf919ed..02d0e68 100644 > --- a/spice/stream-device.h > +++ b/spice/stream-device.h > @@ -108,6 +108,8 @@ typedef struct StreamMsgCapabilities { > uint8_t capabilities[0]; > } StreamMsgCapabilities; > > +#define STREAM_MSG_CAPABILITIES_MAX 1024 > + > /* Define the format of the stream, start a new stream. > * This message is sent by the guest to the host to > * tell the host the new stream format. I would replace also the 1024 comment with STREAM_MSG_CAPABILITIES_MAX. Frediano _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel