commit | 15cc292b7e0be787fd856e05aadd2e52d0ebd98d | [log] [tgz] |
---|---|---|
author | Vikram Auradkar <auradkar@google.com> | Sun Feb 13 14:18:36 2022 -0800 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Feb 14 19:43:17 2022 +0000 |
tree | 43ddc86de5bf26faa294ea5b48512ddfc9e09914 | |
parent | 9051c150d93b52546d587112faf4cd259d5674a1 [diff] |
Prepare vmm_vhost to be milti-platform 1/2 The patch prepares backend.rs and connection.rs to be platform independent by - depending on base instead on sys_util - using base::Event over sys_util::EventFd - replacing RawFd usage with RawDescriptor and derivatives To keep the noise low, the patch - aliases structs/traits (Event as EventFd) - does not rename variables (say from fd to rd). Note: With this patch the crate/files are not completely platform independent. Test: Built, clippy and fmt Bug: b:213151429 Change-Id: Id93d4a70db627578e6577017f8ca4d69f892d69a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3460427 Reviewed-by: Dennis Kempin <denniskempin@google.com> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Vikram Auradkar <auradkar@google.com>
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.