[virt-tools-list] [PATCH] change virt-manager option spice-disable-usbredir to spice-disable-auto-usbredir
Guannan Ren
gren at redhat.com
Fri Aug 16 08:47:51 UTC 2013
This is option is supposed to turn off Auto USB redirection feature
rather than USB redirection support. So adding 'auto' make it clearer.
And add its docs to manpage.
---
man/virt-manager.pod | 3 +++
virt-manager | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/man/virt-manager.pod b/man/virt-manager.pod
index 8879d41..ec7c7fd 100644
--- a/man/virt-manager.pod
+++ b/man/virt-manager.pod
@@ -78,6 +78,9 @@ unique ID matching C<UUID>
Display the main window summarizing performance for all virtual machines
on the host.
+=item --spice-disable-auto-usbredir
+Auto USB redirection is supportted by default. This option switches off it.
+
=back
=back
diff --git a/virt-manager b/virt-manager
index 2df63a4..b37ea40 100755
--- a/virt-manager
+++ b/virt-manager
@@ -135,8 +135,8 @@ def parse_commandline():
help="Show domain graphical console window")
optParser.add_option("--show-host-summary", action="callback",
callback=opt_show_cb, help="Show connection details window")
- optParser.add_option("--spice-disable-usbredir", action="store_true",
- dest="usbredir", help="Disable USB redirection support")
+ optParser.add_option("--spice-disable-auto-usbredir", action="store_true",
+ dest="usbredir", help="Disable Auto USB redirection support")
return optParser.parse_args()
--
1.8.3.1
More information about the virt-tools-list
mailing list