cloud-hypervisor/vmm
Sebastien Boeuf 1a484a82f9 vmm: Don't break from epoll loop on EINTR
The existing code taking care of the epoll loop was too restrictive as
it was propagating the error returned from the epoll_wait() syscall, no
matter what was the error. This causes the epoll loop to be broken,
leading to the VM termination.

This patch enforces the parsing of the returned error and prevent from
the error propagation in case it is EINTR, which stands for Interrupted.
In case the epoll loop is interrupted, it is appropriate to retry.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2019-08-02 08:37:34 +01:00
..
src vmm: Don't break from epoll loop on EINTR 2019-08-02 08:37:34 +01:00
Cargo.toml vmm: Support direct device assignment 2019-07-24 11:55:08 +02:00