|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] fix cross migrate problem
When migrate Guest OS to remote host on each side of two host. The later migration will be hung because of Read or Write socket in destionation can't been closed for wait a reponse from initiator. So close the side of socket in initiator when finish the migration.
Signed-off-by: Song Wei (james)<jsong@xxxxxxxxxx> //fix_cross_migrate.patch diff -r b4fcb5f632dc tools/python/xen/xend/XendDomain.py --- a/tools/python/xen/xend/XendDomain.py Mon Aug 31 18:17:26 2009 +0100 +++ b/tools/python/xen/xend/XendDomain.py Fri Sep 04 12:48:42 2009 +0800 @@ -1353,8 +1353,7 @@ XendCheckpoint.save(p2cwrite, dominfo, True, live, dst, node=node) finally: - sock.shutdown() - sock.close() + sock.shutdown(socket.SHUT_RDWR)
os.close(p2cread) os.close(p2cwrite)
thanks, James
|
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] fix cross migrate problem,
James Song <=
|
|
|
|
|