mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
xend: fix domain_migrate
When the guest(pv-on-hvm guest that cannot suspend) reboot in LiveMigration, the disconnecting of src-side is not transmitted to dist-side. As a result, the error processing on the dist side is not executed. Signed-off-by: Tomonari Horikoshi <t.horikoshi@jp.fujitsu.com>
This commit is contained in:
1 parent
92f9c55a94
commit
be01c537b2
1 file changed
+1
@@ -1378,6 +1378,7 @@ class XendDomain:
|
||||
XendCheckpoint.save(sock.fileno(), dominfo, True, live,
|
||||
dst, node=node)
|
||||
finally:
|
||||
sock.shutdown(socket.SHUT_RDWR)
|
||||
sock.close()
|
||||
|
||||
def domain_save(self, domid, dst, checkpoint=False):
|
||||
|
||||