No description
Find a file
Dennis Kempin 4c211a4d41 Extract vtpm out of the chromeos feature
And enable it in upstream all-linux builds.
The feature is enabled for chromeos by default, so should
be a no-op for chromeos builds.

We can probably simplify the cfg() attributes further by
only enabling the feature for x86, so we do not need the
extra check each time. But that'll require ebuild changes.

BUG=b:244618505
TEST=presubmit
TEST=cargo build --no-default-features --features=vtpm

Change-Id: Ibb33c04ab5e6486969fefc6f3e57503be4eccdf3
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3924741
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
2022-10-04 21:11:30 +00:00
.cargo health-check: Add check for newline at ends of files 2022-08-18 00:17:04 +00:00
.devcontainer dev_container: Fix vscode integration 2022-09-14 00:16:38 +00:00
.github Cleanup: Remove old, deprecated and no longer used files 2022-09-20 21:05:57 +00:00
.vscode Add rust-analyzer config to .vscode/settings.json 2022-08-16 23:08:35 +00:00
aarch64 aarch64: Add support for GDB SingleRegisterAccess 2022-09-28 11:26:00 +00:00
acpi_tables Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
anti_tamper Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
arch aarch64: Add support for GDB SingleRegisterAccess 2022-09-28 11:26:00 +00:00
argh_helpers Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
base base: rename platform specific event types to PlatformEvent 2022-10-04 18:29:21 +00:00
bit_field Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
broker_ipc crash-report: Build with feature crash-report 2022-09-28 14:45:00 +00:00
common crosvm-fuzz: Migrate crosvm-fuzz to cargo fuzz 2022-10-03 16:12:15 +00:00
crash_report crash-report: Build with feature crash-report 2022-09-28 14:45:00 +00:00
cros_async cros_async: refactor FromStr for ExecutorKind 2022-10-04 09:58:49 +00:00
crosvm-fuzz tree-wide: apply cargo fmt --nightly 2022-10-03 21:39:26 +00:00
crosvm_control Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
crosvm_plugin Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
devices Extract vtpm out of the chromeos feature 2022-10-04 21:11:30 +00:00
disk devices: virtio: block: impl DiskOption::open for Windows 2022-09-20 03:42:20 +00:00
docs/book docs: add a vsock document to the book 2022-10-04 03:40:37 +00:00
fuse Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
gpu_display gpu_display: use mpsc channels to avoid busy-waiting (2). 2022-10-04 01:11:37 +00:00
hypervisor aarch64: Add support for GDB SingleRegisterAccess 2022-09-28 11:26:00 +00:00
infra Roll recipe dependencies (trivial). 2022-10-04 03:15:49 +00:00
integration_tests health-check: enforce blank line after copyright 2022-09-13 22:24:35 +00:00
io_uring cros_async: fix io at current file pos for io_uring 2022-09-30 20:32:02 +00:00
kernel_cmdline Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
kernel_loader health-check: enforce blank line after copyright 2022-09-13 22:24:35 +00:00
kvm aarch64: Expose MTE to guests 2022-09-13 21:05:15 +00:00
kvm_sys bindgen: update bindings to Linux 5.15 2022-09-14 22:09:30 +00:00
libcras_stub tree-wide: apply cargo fmt --nightly 2022-10-03 21:39:26 +00:00
linux_input_sys Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
logo README: Use PNG logo image 2021-10-29 01:56:23 +00:00
media tree-wide: apply cargo fmt --nightly 2022-10-03 21:39:26 +00:00
metrics crosvm: move enum ProcessType to win_util. 2022-09-21 19:28:49 +00:00
net_sys health-check: enforce blank line after copyright 2022-09-13 22:24:35 +00:00
net_util health-check: enforce blank line after copyright 2022-09-13 22:24:35 +00:00
power_monitor power_monitor: Enable feature in all-linux 2022-09-20 21:06:47 +00:00
prebuilts prebuilts: Add helper crate to download prebuilts 2022-10-04 20:22:47 +00:00
protos Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
qcow_utils Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
resources Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
rutabaga_gfx rutabaga: Fix & cross-platform Vulkano memory import 2022-09-30 17:18:14 +00:00
seccomp dev_container: Upgrade to debian bookworm 2022-09-14 22:32:36 +00:00
serde_keyvalue serde_keyvalue: fix cargo doc warning 2022-09-28 02:16:40 +00:00
src Extract vtpm out of the chromeos feature 2022-10-04 21:11:30 +00:00
system_api Fix compilation with vtpm enabled 2022-09-29 17:17:21 +00:00
tests Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
third_party devices: vhost-user: block: Add hot-resizing feature in vhost-user block 2022-10-04 12:50:16 +00:00
tools prebuilts: Add helper crate to download prebuilts 2022-10-04 20:22:47 +00:00
tpm2 Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
tpm2-sys Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
tracing Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
tube_transporter tree-wide: apply cargo fmt --nightly 2022-10-03 21:39:26 +00:00
usb_sys Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
usb_util Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
vfio_sys bindgen: update bindings to Linux 5.15 2022-09-14 22:09:30 +00:00
vhost Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
virtio_sys bindgen: update bindings to Linux 5.15 2022-09-14 22:09:30 +00:00
vm_control aarch64: Add support for GDB SingleRegisterAccess 2022-09-28 11:26:00 +00:00
vm_memory vm_memory: Format GuestAddress in hex for Debug. 2022-09-29 07:37:51 +00:00
win_audio Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
win_util crosvm: move enum ProcessType to win_util. 2022-09-21 19:28:49 +00:00
x86_64 aarch64: Add support for GDB SingleRegisterAccess 2022-09-28 11:26:00 +00:00
.dockerignore add docker supported builds and tests 2019-05-15 13:36:19 -07:00
.gitignore Add python configs for consistency between IDE and CI 2022-08-16 18:33:23 +00:00
.gitmodules health-check: Add infra checks 2022-08-18 00:17:04 +00:00
.rustfmt.toml rustfmt, win_util: update to 2021 edition 2022-05-31 23:35:02 +00:00
ARCHITECTURE.md arch: allocate reserved PCI addresses first 2022-08-01 18:57:44 +00:00
build.rs Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
Cargo.lock prebuilts: Add helper crate to download prebuilts 2022-10-04 20:22:47 +00:00
Cargo.toml Extract vtpm out of the chromeos feature 2022-10-04 21:11:30 +00:00
CONTRIBUTING.md CONTRIBUTING.md: Add unit testing guidelines 2022-09-19 23:16:00 +00:00
DIR_METADATA DIR_METADATA: Add public buganizer component 2022-09-21 17:43:59 +00:00
LICENSE Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
mypy.ini Add python configs for consistency between IDE and CI 2022-08-16 18:33:23 +00:00
OWNERS Add rizhang@ to OWNERS 2022-08-17 01:14:13 +00:00
PRESUBMIT.cfg Cleanup: Remove old, deprecated and no longer used files 2022-09-20 21:05:57 +00:00
pyproject.toml Add python configs for consistency between IDE and CI 2022-08-16 18:33:23 +00:00
README.chromeos.md crosvm: update book and doc links to crosvm.dev 2022-07-29 22:54:01 +00:00
README.md crosvm: update book and doc links to crosvm.dev 2022-07-29 22:54:01 +00:00
rust-toolchain dev_container: Upgrade to debian bookworm 2022-09-14 22:32:36 +00:00

crosvm - The Chrome OS Virtual Machine Monitor

crosvm is a virtual machine monitor (VMM) based on Linuxs 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 doesnt 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.

Logo