exec-migration: handle EINTR in popen_get_buffer()
authorUri Lublin <uril@redhat.com>
Mon, 8 Jun 2009 16:27:21 +0000 (19:27 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Sun, 14 Jun 2009 00:19:25 +0000 (19:19 -0500)
commit9a18e0069ba06ee3adebb7b0232d9bc016459f7d
tree84e3a497357c1fb6c4a4b0f2af9a724e3a432673
parentf3054bf97c17557b72a09e51891c794669adfe51
exec-migration: handle EINTR in popen_get_buffer()

Sometimes, upon interrupt, fread returns with no data, and
the (incoming exec) migration fails.

Fix by retrying on such a case.

Signed-off-by: Uri Lublin <uril@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
savevm.c