commit | ed6b27ab26b0dcacdd72d2fba41400d18a12df77 | [log] [tgz] |
---|---|---|
author | Daniel Verkamp <dverkamp@chromium.org> | Fri Mar 25 14:06:05 2022 -0700 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 28 19:37:54 2022 +0000 |
tree | 30f40e7d0abf580ef006f1a0e899e54e3292d5ae | |
parent | cbe2e1275947bed9b5cb75e4fa44a758d2a96cb5 [diff] |
base: pass OpenOptions to open_file instead of bools This cleans up the API and makes it easier to tell what is happening at the call site. Additionally, callers may now use any options supported by OpenOptions rather than the two specific flags (read_only and o_direct) that were previously supported. BUG=None TEST=tools/presubmit Change-Id: Ib8b5350c60807f14ebe0816d71bbf31e4bfef67f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3553763 Reviewed-by: Noah Gold <nkgold@google.com> Reviewed-by: Vikram Auradkar <auradkar@google.com> Reviewed-by: Anton Romanov <romanton@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@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.