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:
Keir Fraser committed 2009-03-31 11:13:56 +01:00
1 parent 92f9c55a94
commit be01c537b2
1 file changed
+1
+1
View File
@@ -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):
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.