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

Re: [virt-tools-list] [PATCH] change virt-manager option spice-disable-usbredir to spice-disable-auto-usbredir


On 08/16/2013 10:47 AM, Guannan Ren wrote:
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.

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()

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