[virt-tools-list] [virt-manager][PATCH ] Disable autoconnect when --show-* is specified.

Leonardo Garcia lagarcia at linux.vnet.ibm.com
Sat Jul 13 09:21:30 UTC 2013


From: Leonardo Garcia <lagarcia at br.ibm.com>

---
 man/virt-manager.pod |    5 +++--
 virt-manager         |    1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/man/virt-manager.pod b/man/virt-manager.pod
index 1565e63..8879d41 100644
--- a/man/virt-manager.pod
+++ b/man/virt-manager.pod
@@ -46,8 +46,9 @@ Don't autostart any libvirt connections when launching C<virt-manager>.
 
 =item --show-DIALOG-WINDOW
 
-Display the corresponding C<DIALOG-WINDOW> when launching C<virt-manager>. The
-manager window will not be shown at startup in this case.
+Display the corresponding C<DIALOG-WINDOW> when launching C<virt-manager>. This
+function implies --no-conn-autostart and the manager window will not be shown
+at startup in this case.
 
 The following C<DIALOG-WINDOW> options are currently available:
 
diff --git a/virt-manager b/virt-manager
index 7baf604..25a43b8 100755
--- a/virt-manager
+++ b/virt-manager
@@ -281,6 +281,7 @@ def main():
             return True
         engine.uri_cb = cb
         engine.show_manager_window = False
+        engine.skip_autostart = True
 
 
     # Finally start the app for real
-- 
1.7.1




More information about the virt-tools-list mailing list