cloud-hypervisor/vm-virtio
Sebastien Boeuf 56d7c04226 vm-virtio: vsock: Don't return error when epoll_wait is interrupted
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>
2020-02-04 18:16:37 +01:00
..
src vm-virtio: vsock: Don't return error when epoll_wait is interrupted 2020-02-04 18:16:37 +01:00
Cargo.toml vm-virtio: Cleanup from kvm_iotcls and kvm_bindings dependencies 2020-01-17 23:43:45 +01:00