No description
Find a file
Daniel Verkamp 8948174ef3 bindgen: use upstream Linux headers
Move the ChromeOS-specific kernel header modifications into the
corresponding bindgen.sh patch sections.

This also downloads the Linux source rather than relying on the ChromeOS
kernel source tree, so it should work without having a chromiumos
checkout.

BUG=b:402466294
TEST=tools/bindgen-all-the-things

Change-Id: I8cb00cdaf847a0a9442722ec9e69e8c6b47cf437
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/6345302
Reviewed-by: Frederick Mayle <fmayle@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2025-03-12 12:32:22 -07:00
.cargo [clippy] re-enable clippy lints that no longer apply 2025-03-06 16:59:55 -08:00
.config dev_container: Pass through NEXTEST_PROFILE 2023-12-14 19:01:30 +00:00
.devcontainer dev_container: Replace better toml extension 2023-07-27 23:37:15 +00:00
.github Cleanup: Remove old, deprecated and no longer used files 2022-09-20 21:05:57 +00:00
.vscode Document feature flags and introduce new feature sets 2022-10-14 20:31:19 +00:00
aarch64 aarch64: fix potential initrd size subtraction underflow 2025-02-24 14:29:15 -08:00
acpi_tables crosvm: upgrade zerocopy to 0.8 2025-02-24 11:35:51 -08:00
android_audio Refactor android_audio 2024-07-08 20:26:39 +00:00
arch devices: remove virtio-mmio support 2025-03-03 15:06:31 -08:00
argh_helpers Update to syn-2 2023-12-02 00:23:50 +00:00
audio_streams_conformance_test audio_streams_conformance_test: remove unused minijail dep 2024-05-22 21:24:02 +00:00
audio_util clippy: enforce safety block comments 2023-12-14 18:21:54 +00:00
base [clippy] fix and re-enable should_implement_trait 2025-03-06 16:59:50 -08:00
base_tokio Standardize on anyhow = "1" in Cargo.toml files 2025-02-06 15:07:09 -08:00
bit_field Replace ::max_value() with ::MAX 2024-07-09 23:26:03 +00:00
broker_ipc Standardize on anyhow = "1" in Cargo.toml files 2025-02-06 15:07:09 -08:00
common crosvm: upgrade zerocopy to 0.8 2025-02-24 11:35:51 -08:00
cros_async cros_async: remove unused AsyncTube Deref. 2025-03-05 09:46:53 -08:00
cros_fdt [clippy] map_or() -> is_some_and() cleanups 2025-02-24 18:24:21 -08:00
cros_tracing Cargo.toml: avoid "*" versions for external crates 2024-05-22 01:01:42 +00:00
cros_tracing_types Cargo.toml: avoid "*" versions for external crates 2024-05-22 01:01:42 +00:00
crosvm_cli Standardize on anyhow = "1" in Cargo.toml files 2025-02-06 15:07:09 -08:00
crosvm_control audio: Add snd mute-all interface 2025-02-14 02:44:36 -08:00
crosvm_plugin [clippy] crosvm_plugin: explicitly discard Box::into_raw() result 2025-02-24 18:29:34 -08:00
devices devices: vhost-user: use BufWriter when snapshotting 2025-03-11 15:44:33 -07:00
disk disk: composite: support fdatasync 2025-02-27 10:59:57 -08:00
docs/book snapshot: serialize snapshots using CBOR 2025-03-11 15:44:28 -07:00
e2e_tests [clippy] fix and re-enable single_char_pattern 2025-03-06 16:43:54 -08:00
ext2 crosvm: upgrade zerocopy to 0.8 2025-02-24 11:35:51 -08:00
fuse crosvm: upgrade zerocopy to 0.8 2025-02-24 11:35:51 -08:00
fuzz [clippy] clean up redundant lifetime annotations 2025-02-11 16:14:19 -08:00
gpu_display [clippy] doc comment fix 2025-02-24 18:53:05 -08:00
hypervisor crosvm: upgrade zerocopy to 0.8 2025-02-24 11:35:51 -08:00
infra Roll recipe dependencies (trivial). 2025-03-11 20:13:40 -07:00
io_uring bindgen: use installed UAPI headers 2025-03-12 12:30:26 -07:00
jail crosvm: upgrade zerocopy to 0.8 2025-02-24 11:35:51 -08:00
kernel_cmdline kernel_cmdline: remove capacity from Cmdline 2024-09-12 18:42:20 +00:00
kernel_loader bindgen: use installed UAPI headers 2025-03-12 12:30:26 -07:00
kvm crosvm: upgrade zerocopy to 0.8 2025-02-24 11:35:51 -08:00
kvm_sys bindgen: use upstream Linux headers 2025-03-12 12:32:22 -07:00
libcras_stub Cargo.toml: avoid "*" versions for external crates 2024-05-22 01:01:42 +00:00
linux_input_sys crosvm: upgrade zerocopy to 0.8 2025-02-24 11:35:51 -08:00
logo README: Use PNG logo image 2021-10-29 01:56:23 +00:00
media bindgen: move platform2 path to libvda 2025-03-12 12:28:47 -07:00
metrics metrics: add missing features in Cargo.toml 2024-07-03 00:33:08 +00:00
metrics_events devices: add snapshot latency metrics. 2025-01-21 11:43:24 -08:00
net_sys bindgen: use installed UAPI headers 2025-03-12 12:30:26 -07:00
net_util [clippy] clean up redundant lifetimes for Windows 2025-02-24 18:00:57 -08:00
perfetto crosvm: upgrade zerocopy to 0.8 2025-02-24 11:35:51 -08:00
power_monitor devices: bat: Rate-limit powerd DBus requests 2025-02-11 20:20:09 -08:00
prebuilts Cargo.toml: avoid "*" versions for external crates 2024-05-22 01:01:42 +00:00
proto_build_tools Cargo.toml: upgrade protobuf 2.x -> 3.x 2023-04-28 19:32:01 +00:00
protos clippy: enforce safety block comments 2023-12-14 18:21:54 +00:00
resources [clippy] map_or() -> is_some_and() cleanups 2025-02-24 18:24:21 -08:00
riscv64 aarch64, x86_64: add cmdline option to configure PCI mem region 2024-11-22 23:17:50 +00:00
rutabaga_gfx Revert "rutabaga_gfx: Add rutabaga_resource_wait_sync interface" 2025-02-21 12:08:41 -08:00
sandbox Cargo.toml: avoid "*" versions for external crates 2024-05-22 01:01:42 +00:00
serde_keyvalue [clippy] clean up redundant lifetime annotations 2025-02-11 16:14:19 -08:00
snapshot snapshot: serialize snapshots using CBOR 2025-03-11 15:44:28 -07:00
src [clippy] fix and re-enable should_implement_trait 2025-03-06 16:59:50 -08:00
swap [clippy] fix and re-enable single_char_pattern 2025-03-06 16:43:54 -08:00
system_api Cargo.lock: update protobuf 3.6 -> 3.7.2 2025-03-10 13:48:23 -07:00
tests Reformat comments 2024-02-15 23:30:13 +00:00
third_party libslirp: explicitly leak Box::into_raw() result 2025-02-24 18:58:56 -08:00
tools bindgen: use upstream Linux headers 2025-03-12 12:32:22 -07:00
tube_transporter Cargo.toml: avoid "*" versions for external crates 2024-05-22 01:01:42 +00:00
usb_sys Windows clippy fixes for Rust 1.81 2024-11-13 00:07:11 +00:00
usb_util crosvm: upgrade zerocopy to 0.8 2025-02-24 11:35:51 -08:00
vendor Rename gfxabort to be agnostic of graphics stack 2025-02-21 09:38:31 -08:00
vfio_sys bindgen: use installed UAPI headers 2025-03-12 12:30:26 -07:00
vhost vhost: improve set_vring_addr() validation 2024-10-11 00:56:40 +00:00
virtio_sys bindgen: use upstream Linux headers 2025-03-12 12:32:22 -07:00
vm_control Remove Clone trait from VmResponse 2025-03-04 17:23:02 -08:00
vm_memory bindgen: use installed UAPI headers 2025-03-12 12:30:26 -07:00
win_audio win_audio: remove pointless returns 2025-02-24 18:58:51 -08:00
win_util Replace ::max_value() with ::MAX 2024-07-09 23:26:03 +00:00
x86_64 devices: remove virtio-mmio support 2025-03-03 15:06:31 -08:00
.dockerignore add docker supported builds and tests 2019-05-15 13:36:19 -07:00
.envrc Automatically register tools/ on PATH 2023-03-03 00:33:15 +00:00
.gitattributes config: force lf as line endings 2023-11-07 17:38:58 +00:00
.gitignore Automatically register tools/ on PATH 2023-03-03 00:33:15 +00:00
.gitmodules devices: remove --software-tpm support 2023-10-02 23:28:45 +00:00
.rustfmt.toml rustfmt: wrap comments 2024-02-15 23:30:13 +00:00
ARCHITECTURE.md docs: book: update architecture docs 2023-06-01 22:37:17 +00:00
Cargo.lock snapshot: serialize snapshots using CBOR 2025-03-11 15:44:28 -07:00
Cargo.toml snapshot: serialize snapshots using CBOR 2025-03-11 15:44:28 -07:00
CONTRIBUTING.md tools: Separate debian packages from other setup 2025-02-11 15:10:36 -08:00
DIR_METADATA Add arcvm_gki_cq test plan 2024-08-21 18:24:58 +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 OWNERS: Remove acourbot@ 2025-02-26 19:48:32 -08:00
OWNERS_COUNCIL OWNERS_COUNCIL: Update council reviewers 2024-05-29 18:36:55 +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 Fix remaining Chrome/Chromium OS instances 2023-01-03 22:14:30 +00:00
rust-toolchain rust-toolchain: update to Rust 1.77.2 2024-06-18 18:21:17 +00:00

crosvm - The ChromeOS 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 ChromeOS 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 ChromeOS devices.

Logo