[virt-tools-list] [virt-manager PATCH] virt-manager: don't autostart other connection if --show-* was specified
Pavel Hrdina
phrdina at redhat.com
Tue Jan 17 16:59:09 UTC 2017
Broken by commit a9bc56add3.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1377244
Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
Pushed under trivial rule.
virt-manager | 3 +++
1 file changed, 3 insertions(+)
diff --git a/virt-manager b/virt-manager
index 81b0a5a9..b3a8f691 100755
--- a/virt-manager
+++ b/virt-manager
@@ -263,6 +263,9 @@ def main():
if show_window and options.uri is None:
raise RuntimeError("can't use --show-* options without --connect")
+ if show_window:
+ options.skip_autostart = True
+
# Hook libvirt events into glib main loop
LibvirtGLib.init(None)
LibvirtGLib.event_register()
--
2.11.0
More information about the virt-tools-list
mailing list