virt-manager/virtman-autoconnect.diff

14 lines
518 B
Diff
Raw Normal View History

Index: virt-manager-0.9.1/src/virtManager/engine.py
===================================================================
--- virt-manager-0.9.1.orig/src/virtManager/engine.py
+++ virt-manager-0.9.1/src/virtManager/engine.py
@@ -361,7 +361,7 @@ class vmmEngine(vmmGObject):
conn = self.add_conn(uri)
if autoconnect is not None:
- conn.set_autoconnect(bool(autoconnect))
+ self.connect_to_uri(uri)
self.show_manager()
if do_start: