mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-21 19:02:30 +00:00
The existing code taking care of the epoll loop was too restrictive as it was considering all errors the same. But in case the error is EINTR, this means the syscall has been interrupted while waiting, and it should be resumed to wait again. This patch enforces the parsing of the returned error and prevent the code from assuming EINTR should be handled as all other errors. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>