summary refs log tree commit diff
path: root/src/linux.rs
diff options
context:
space:
mode:
authorZach Reizner <zachr@google.com>2018-04-18 18:18:00 -0700
committerchrome-bot <chrome-bot@chromium.org>2018-04-19 01:13:09 -0700
commitd14c41a81fa71fba2e868fbc86c1b28c05186001 (patch)
treed1c9a537fa0b8da7bd61fd58ef27eb193d727b8c /src/linux.rs
parent7a7268faf0a43c79b6a4520f5c2f35c3e0233932 (diff)
downloadcrosvm-d14c41a81fa71fba2e868fbc86c1b28c05186001.tar
crosvm-d14c41a81fa71fba2e868fbc86c1b28c05186001.tar.gz
crosvm-d14c41a81fa71fba2e868fbc86c1b28c05186001.tar.bz2
crosvm-d14c41a81fa71fba2e868fbc86c1b28c05186001.tar.lz
crosvm-d14c41a81fa71fba2e868fbc86c1b28c05186001.tar.xz
crosvm-d14c41a81fa71fba2e868fbc86c1b28c05186001.tar.zst
crosvm-d14c41a81fa71fba2e868fbc86c1b28c05186001.zip
sys_util: handle EINTR return from epoll_wait
The PollContext::wait returns Error on EINTR, which often happens during
suspend/resume cycles. Because this Error is transient, this should be
handled internally with a retry until a fatal error is encountered.

BUG=chromium:834558
TEST=run crosvm, suspend, resume, observe crosvm still running

Change-Id: I75469e261ddf28f025a3b3b93612538ccf1230b9
Reviewed-on: https://chromium-review.googlesource.com/1018527
Commit-Ready: Zach Reizner <zachr@chromium.org>
Tested-by: Zach Reizner <zachr@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Diffstat (limited to 'src/linux.rs')
0 files changed, 0 insertions, 0 deletions