# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1238494436 -3600
# Node ID 453ebb3279e8dff46e75175a7f68a19aa401856b
# Parent f86ebd7f887a2d26a397cd3285954675ca6e3892
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@xxxxxxxxxxxxxx>
---
tools/python/xen/xend/XendDomain.py | 1 +
1 files changed, 1 insertion(+)
diff -r f86ebd7f887a -r 453ebb3279e8 tools/python/xen/xend/XendDomain.py
--- a/tools/python/xen/xend/XendDomain.py Tue Mar 31 11:12:39 2009 +0100
+++ b/tools/python/xen/xend/XendDomain.py Tue Mar 31 11:13:56 2009 +0100
@@ -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):
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|