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

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

 



From: Leonardo Garcia <lagarcia@xxxxxxxxxx>

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

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list




[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux