[Spice-devel] [PATCH spice-gtk] option: deprecate a few esoteric options from --spice group

Christophe Fergeau cfergeau at redhat.com
Thu Jun 15 13:39:42 UTC 2017


On Thu, Jun 15, 2017 at 09:24:30AM -0400, Marc-André Lureau wrote:
> Hi
> 
> ----- Original Message -----
> > On Thu, Jun 15, 2017 at 04:13:12PM +0400, marcandre.lureau at redhat.com wrote:
> > > From: Marc-André Lureau <marcandre.lureau at redhat.com>
> > > 
> > > I propose to deprecate the options that have very unclear results, or
> > > that are unimplemented by drivers. They were added for historical
> > > reasons, mostly to match with spicec options, but aren't
> > > user-friendly. Some of them could be moved in spicy options or a new
> > > debug/tune option group. For now, mark them as deprecated so they can
> > > be removed in a future release.
> > > 
> > > Imho, --spice-preferred-compression is a good candidate too, although
> > > users may be more familiar with this option, at least the 'off' case
> > > may have a clear impact.
> > > 
> > > Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
> > > ---
> > >  man/spice-client.pod | 8 ++++----
> > >  src/spice-option.c   | 8 ++++----
> > >  2 files changed, 8 insertions(+), 8 deletions(-)
> > > 
> > > diff --git a/man/spice-client.pod b/man/spice-client.pod
> > > index 69ea84c..cf22636 100644
> > > --- a/man/spice-client.pod
> > > +++ b/man/spice-client.pod
> > > @@ -60,7 +60,7 @@ record, smartcard, usbredir.
> > >  
> > >  =item --spice-disable-effects=<wallpaper,font-smooth,animation,all>
> > >  
> > > -Disable guest display effects
> > > +Disable guest display effects - DEPRECATED
> > >  
> > >  This tells the SPICE client that it should attempt to disable some guest
> > >  features in order to lower bandwidth usage. This requires guest support,
> > > @@ -74,7 +74,7 @@ can be disabled.
> > >  
> > >  =item --spice-color-depth=<16,32>
> > >  
> > > -Guest display color depth
> > > +Guest display color depth - DEPRECATED
> > >  
> > >  This tells the SPICE client that it should attempt to force the guest OS
> > >  color depth. A lower color depth should lower bandwith usage. This
> > >  requires
> > > @@ -164,13 +164,13 @@ should be used for smartcard emulation.
> > 
> > --spice-disable-effects/--spice-color-depth should still be supported by
> > Windows guests, the Windows agent has support for these, but I did not
> > test whether this had any real effect with win7 or newer.
> > I'm fine with deprecating the other ones.
> 
> WDDM driver supports it on win7? Regarding win8: 

I'm talking about the win xp/win7 driver (which is xddm I think?)

> 
> https://msdn.microsoft.com/en-us/library/windows/desktop/dd183413(v=vs.85).aspx:
> 
> "Apps that you design to target Windows 8 and later can no longer
> query or set display modes that are less than 32 bits per pixel (bpp)"
> 
> Imho we should more clearly state that we don't really support that feature moving forward.

Ah I agree, I'd welcome something more descriptive than "DEPRECATED", eg
"This requires guest agent cooperation, and is only supported on Win7
and older guests running spice-vdagent".

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170615/305660a3/attachment.sig>


More information about the Spice-devel mailing list