Properly define migrated VM on remote connection.

This commit is contained in:
Cole Robinson 2009-07-07 14:57:17 -04:00
parent 08b38f62aa
commit 836d4ecc14

View File

@ -1423,6 +1423,6 @@ class vmmDomain(gobject.GObject):
newxml = self.get_xml()
self.vm.migrate(conn, flags, None, uri, 0)
conn.defineXML(newxml)
destcon.define_domain(newxml)
gobject.type_register(vmmDomain)