crosvm/crosvm_plugin
Dmitry Torokhov 5ba068f9a4 crosvm_plugin: fix errno conversions
The raw_os_error() and errno() return positive values (errno values are
all positive), but the rest of crosvm plugin C API works with negative
return codes, so we need to convert raw_os_error()/errno() into
negatives as well.

TEST=cargo test --features plugin; cargo test -p kvm
BUG=None

Change-Id: I8bd72c2e67cb227a638e5c9478cd2f781f0783d0
Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/939865
Reviewed-by: Zach Reizner <zachr@chromium.org>
2018-02-27 20:17:06 -08:00
..
src crosvm_plugin: fix errno conversions 2018-02-27 20:17:06 -08:00
Cargo.toml allow plugin to query for KVM extensions 2018-02-12 22:42:40 -08:00
crosvm.h allow plugin to query for KVM extensions 2018-02-12 22:42:40 -08:00