mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
397b103a64
This is a refactoring to use original Error type instead of UffdError from userfaultfd crate. This helps /dev/userfaultfd support which returns std::io::Error on opening userfaultfd. This contains a minor change to move register/unregister helpers to userfaultfd.rs BUG=b:266642532 TEST=cargo test -p swap Change-Id: I24079999b018c0f1683fd7b4ee0f97153bd8914d Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4196761 Reviewed-by: David Stevens <stevensd@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Commit-Queue: Shin Kawamura <kawasin@google.com> |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |