commit | 6b29858a34213e7229dbb509e9a04003f021b57c | [log] [tgz] |
---|---|---|
author | Daniel Verkamp <dverkamp@chromium.org> | Mon Aug 16 15:37:11 2021 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Nov 05 23:06:09 2021 +0000 |
tree | fb443a864d37a458f08d48de89757c4f36d3bdbd | |
parent | 2d8e1b09a5b1e5362a0f0eb07024bee8e6a205a4 [diff] |
linux.rs: replace Error enum with anyhow Use the anyhow crate to provide ad-hoc errors with context. This removes the large, manually-updated enum, which we never use programmatically anyway (error messages are printed in human-readable form and otherwise not matched against). BUG=b:190433480 TEST=cargo build TEST=./test_all Change-Id: Ia7b90b33774d4031054b346d650861d3105044ee Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3105436 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
crosvm is a virtual machine monitor (VMM) based on Linux’s KVM hypervisor, with a focus on simplicity, security, and speed. crosvm is intended to run Linux guests, originally as a security boundary for running native applications on the Chrome OS platform. Compared to QEMU, crosvm doesn’t emulate architectures or real hardware, instead concentrating on paravirtualized devices, such as the virtio standard.
crosvm is currently used to run Linux/Android guests on Chrome OS devices.