exec-migration: handle EINTR in popen_get_buffer()
commit936d7bf94412d08933389139631531ebc85b66ea
authorUri Lublin <uril@redhat.com>
Mon, 8 Jun 2009 16:27:21 +0000 (8 19:27 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 16 Jun 2009 22:11:13 +0000 (16 17:11 -0500)
treee2c47a30519cd6ffba0ab9c5c17f0f015d1767ab
parentd13317e197da0e85ba9b57332182c6363aee085d
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.

(cherry picked from commit 8a67ec4d84f7db9add9a0b017a968d340fbfb807)

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