qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 2/5] spice: make compression configurable.


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH 2/5] spice: make compression configurable.
Date: Thu, 7 Oct 2010 18:12:26 +0000

On Thu, Oct 7, 2010 at 7:55 AM, Gerd Hoffmann <address@hidden> wrote:
> From: Yonit Halperin <address@hidden>
>

No description?

> ---
>  qemu-config.c   |    9 ++++++
>  qemu-options.hx |    9 ++++++
>  ui/spice-core.c |   77 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
>  3 files changed, 93 insertions(+), 2 deletions(-)
>
> diff --git a/qemu-config.c b/qemu-config.c
> index 26748a5..8b545b1 100644
> --- a/qemu-config.c
> +++ b/qemu-config.c
> @@ -391,6 +391,15 @@ QemuOptsList qemu_spice_opts = {
>         },{
>             .name = "tls-ciphers",
>             .type = QEMU_OPT_STRING,
> +        },{
> +            .name = "image-compression",
> +            .type = QEMU_OPT_STRING,
> +        },{
> +            .name = "jpeg-wan-compression",
> +            .type = QEMU_OPT_STRING,
> +        },{
> +            .name = "zlib-glz-wan-compression",
> +            .type = QEMU_OPT_STRING,
>         },
>         { /* end if list */ }
>     },
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 9d3f8ef..59db632 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -704,6 +704,15 @@ The x509 file names can also be configured individually.
> address@hidden tls-ciphers=<list>
>  Specify which ciphers to use.
>
> address@hidden image-compression=[auto_glz|auto_lz|quic|glz|lz|off]
> +Configure image compression (lossless).
> +Default is auto_glz.
> +
> address@hidden jpeg-wan-compression=[auto|never|allways]
> address@hidden zlib-glz-wan-compression=[auto|never|allways]

'allways' does not match what the code uses:

> +    [ SPICE_WAN_COMPRESSION_ALWAYS ] = "always",



reply via email to

[Prev in Thread] Current Thread [Next in Thread]