[Spice-commits] man/spice-client.pod src/spice-option.c
Marc-André Lureau
elmarco at kemper.freedesktop.org
Thu Jun 15 14:27:48 UTC 2017
man/spice-client.pod | 8 ++++----
src/spice-option.c | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 1a980f3712a813cea45e80545e11b35a810f7a47
Author: Marc-André Lureau <marcandre.lureau at redhat.com>
Date: Thu Jun 15 16:02:25 2017 +0400
option: deprecate a few esoteric options from --spice group
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>
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
diff --git a/man/spice-client.pod b/man/spice-client.pod
index 69ea84c..7288b84 100644
--- a/man/spice-client.pod
+++ b/man/spice-client.pod
@@ -74,12 +74,12 @@ 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
guest support, usually through a SPICE agent. This is currently only
-supported on Windows guests.
+supported on Windows 7 and older guests.
=item --spice-ca-file=<file>
@@ -164,13 +164,13 @@ should be used for smartcard emulation.
=item --spice-cache-size=<bytes>
-Image cache size
+Image cache size - DEPRECATED
This option should only be used for testing/debugging.
=item --spice-glz-window-size=<bytes>
-Glz compression history size
+Glz compression history size - DEPRECATED
This option should only be used for testing/debugging.
diff --git a/src/spice-option.c b/src/spice-option.c
index c04e978..6b400bc 100644
--- a/src/spice-option.c
+++ b/src/spice-option.c
@@ -196,7 +196,7 @@ GOptionGroup* spice_get_option_group(void)
{ "spice-disable-effects", '\0', 0, G_OPTION_ARG_CALLBACK, parse_disable_effects,
N_("Disable guest display effects"), "<wallpaper,font-smooth,animation,all>" },
{ "spice-color-depth", '\0', 0, G_OPTION_ARG_CALLBACK, parse_color_depth,
- N_("Guest display color depth"), "<16,32>" },
+ N_("Guest display color depth (deprecated)"), "<16,32>" },
{ "spice-ca-file", '\0', 0, G_OPTION_ARG_FILENAME, &ca_file,
N_("Truststore file for secure connections"), N_("<file>") },
{ "spice-host-subject", '\0', 0, G_OPTION_ARG_STRING, &host_subject,
@@ -219,9 +219,9 @@ GOptionGroup* spice_get_option_group(void)
{ "spice-usbredir-redirect-on-connect", '\0', 0, G_OPTION_ARG_STRING, &usbredir_redirect_on_connect,
N_("Filter selecting USB devices to redirect on connect"), N_("<filter-string>") },
{ "spice-cache-size", '\0', 0, G_OPTION_ARG_INT, &cache_size,
- N_("Image cache size"), N_("<bytes>") },
+ N_("Image cache size (deprecated)"), N_("<bytes>") },
{ "spice-glz-window-size", '\0', 0, G_OPTION_ARG_INT, &glz_window_size,
- N_("Glz compression history size"), N_("<bytes>") },
+ N_("Glz compression history size (deprecated)"), N_("<bytes>") },
{ "spice-shared-dir", '\0', 0, G_OPTION_ARG_FILENAME, &shared_dir,
N_("Shared directory"), N_("<dir>") },
{ "spice-preferred-compression", '\0', 0, G_OPTION_ARG_CALLBACK, parse_preferred_compression,
More information about the Spice-commits
mailing list