xend: Fix a ssl migration hang issue
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 9 Jan 2009 10:04:24 +0000 (10:04 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 9 Jan 2009 10:04:24 +0000 (10:04 +0000)
commita562362b254994095dafec4b5ded07d458cf19cd
treed97c9fec292850fa7a8afc6953059e20ebbe4296
parente3a9e577ae1e3aed1e537e436c3930b54de932aa
xend: Fix a ssl migration hang issue

When another VM is started by xend, the spawned qemu process will keep
the p2cwrite file descriptor open.
Thus there will be two open descriptors associated with the write end
of the pipe. The read end of the pipe only sees EOF when the qemu
process has terminated.

Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
tools/python/xen/util/oshelp.py
tools/python/xen/xend/server/relocate.py