commit | 67cdc6aedc94958f2ce23f8efe7bb2f3e818c174 | [log] [tgz] |
---|---|---|
author | Daniel Verkamp <dverkamp@chromium.org> | Mon Oct 31 12:55:11 2022 -0700 |
committer | crosvm LUCI <crosvm-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 31 20:23:43 2022 +0000 |
tree | 9537f9df1c43a2b2952b2588e933b0e37840ce9a | |
parent | 74db80eb13c4ccae364cf7ab3aafa2096e98649c [diff] |
crosvm: fix build without --features=gpu Add cfg checks to types that are only available when the gpu feature is enabled. This fixes the `tools/presubmit --all` build. BUG=None TEST=cargo build --no-default-features TEST=cargo build --no-default-features --features=gpu Change-Id: Ibb6adb73f196dc798ba114cbae5e06e989a6e96d Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3993687 Auto-Submit: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Idan Raiter <idanr@google.com> Reviewed-by: Dennis Kempin <denniskempin@google.com> Commit-Queue: Dennis Kempin <denniskempin@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.