On Thu, Oct 7, 2010 at 7:55 AM, Gerd Hoffmann <kra...@redhat.com> wrote: > From: Yonit Halperin <yhalp...@redhat.com> >
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. > �...@item tls-ciphers=<list> > Specify which ciphers to use. > > +...@item image-compression=[auto_glz|auto_lz|quic|glz|lz|off] > +Configure image compression (lossless). > +Default is auto_glz. > + > +...@item jpeg-wan-compression=[auto|never|allways] > +...@item zlib-glz-wan-compression=[auto|never|allways] 'allways' does not match what the code uses: > + [ SPICE_WAN_COMPRESSION_ALWAYS ] = "always",