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