Displaying 1 result from an estimated 1 matches for "xc_tmem_restor".
Did you mean:
xc_tmem_restore
2012 May 23
4
Possible error restoring machine
...possible problem restoring a machine.
In xc_domain_restore (xc_domain_restore.c) if it''s not the last
checkpoint we set O_NONBLOCK flag (search for fcntl) that we can call
pagebuf_get or just load other pages (see following "goto loadpages;"
line).
Now we could ending up calling xc_tmem_restore/xc_tmem_restore_extra
(xc_tmem.c) which call read_extract (xc_private.c) on the same non
blocking socket/file but read_extract does not handle EAGAIN/EWOULDBLOCK
(both can be returned on non blocking socket depending on file type and
Unix/Linux version) leading to a failure.
Does this make sense o...