[Spice-devel] [spice-common 1/2] proto: Rename image_compress to image_compression

Uri Lublin uril at redhat.com
Mon Jul 27 08:52:23 PDT 2015


On 07/23/2015 05:36 PM, Christophe Fergeau wrote:
> Re-using the SPICE_IMAGE_COMPRESS_ prefix in newer spice-protocol
> releases is going to cause issues as there will be clashing enum members
> in older spice-server releases. Using SPICE_IMAGE_COMPRESSION_ as a
> prefix sidesteps these backward compability issues.
> ---
>   spice.proto | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/spice.proto b/spice.proto
> index 4ea1263..db015a5 100644
> --- a/spice.proto
> +++ b/spice.proto
> @@ -361,7 +361,7 @@ enum8 image_type {
>       LZ4,
>   };
>
> -enum8 image_compress {
> +enum8 image_compression {
>       INVALID  = 0,
>       OFF,
>       AUTO_GLZ,
>

Ack.


More information about the Spice-devel mailing list