virt-manager/virtman-autoconnect.diff

14 lines
502 B
Diff
Raw Normal View History

Index: virt-manager-0.8.4/src/virtManager/engine.py
===================================================================
--- virt-manager-0.8.4.orig/src/virtManager/engine.py
+++ virt-manager-0.8.4/src/virtManager/engine.py
@@ -689,7 +689,7 @@ class vmmEngine(gobject.GObject):
self.emit("connection-added", conn)
self.config.add_connection(conn.get_uri())
if autoconnect:
- conn.set_autoconnect(True)
+ self.connect_to_uri(uri)
return conn