No description
Find a file
Cassie Wang ea32c72919 base: Handle errors during unix system_info calls
BUG=NONE
TEST=./tools/presubmit

Change-Id: Ia528b4dcd478be82db3946ee8ef92b9258d895f0
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/7540107
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Cassie Wang <cassiewang@google.com>
2026-02-03 12:56:21 -08:00
.cargo Update Rust toolchain to 1.88 2025-11-21 13:21:47 -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 rand: Bump dependency to 0.9.2 2026-01-30 03:12:59 -08:00
aarch64_sys_reg Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
acpi_tables crosvm: upgrade zerocopy to 0.8 2025-02-24 11:35:51 -08:00
android_audio Workspace deps grab bag 2025-05-16 11:26:38 -07:00
arch devices: Support HVC-based device PM (pKVM) 2026-01-23 14:29:56 -08:00
argh_helpers Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
audio_streams_conformance_test fix misc typos 2026-01-26 17:24:12 -08:00
audio_util Workspace deps grab bag 2025-05-16 11:26:38 -07:00
base base: Handle errors during unix system_info calls 2026-02-03 12:56:21 -08:00
base_tokio Workspace deps grab bag 2025-05-16 11:26:38 -07:00
bit_field Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
common Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
cros_async cros_async: windows: don't return Result from WorkerThread 2025-12-09 12:03:00 -08:00
cros_fdt devices: Support HVC-based device PM (pKVM) 2026-01-23 14:29:56 -08:00
cros_tracing Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
cros_tracing_types Workspace deps grab bag 2025-05-16 11:26:38 -07:00
crosvm_cli Workspace deps grab bag 2025-05-16 11:26:38 -07:00
crosvm_control Add display management APIs to crosvm_control 2026-01-27 22:30:56 -08:00
devices devices: Merge DummyDevice into MockDevice 2026-01-30 13:24:52 -08:00
disk Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
docs/book aarch64: remove support for 32-bit host userspace 2025-11-13 14:37:26 -08:00
e2e_tests rand: Bump dependency to 0.9.2 2026-01-30 03:12:59 -08:00
ext2 Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
fuse Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
fuzz rand: Bump dependency to 0.9.2 2026-01-30 03:12:59 -08:00
gpu_display rand: Bump dependency to 0.9.2 2026-01-30 03:12:59 -08:00
hypervisor hypervisor: Support SMCCC KVM_EXIT_HYPERCALL 2025-12-18 10:36:36 -08:00
infra Roll recipe dependencies (trivial). 2026-02-03 09:39:29 -08:00
io_uring Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
jail use workspace-style for static_assertions dependency 2025-12-02 13:09:16 -08:00
kernel_cmdline Workspace deps grab bag 2025-05-16 11:26:38 -07:00
kernel_loader Workspace deps grab bag 2025-05-16 11:26:38 -07:00
kvm_sys aarch64: remove support for 32-bit host userspace 2025-11-13 14:37:26 -08:00
libcras_stub Workspace deps grab bag 2025-05-16 11:26:38 -07:00
linux_input_sys Use workspace dependencies: crosvm workspace crates 2025-05-15 19:26:10 -07:00
logo README: Use PNG logo image 2021-10-29 01:56:23 +00:00
media Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
metrics Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
metrics_events Workspace deps grab bag 2025-05-16 11:26:38 -07:00
net_sys Use workspace dependencies: libc 2025-05-15 17:53:02 -07:00
net_util Update Rust toolchain to 1.88 2025-11-21 13:21:47 -08:00
perfetto crosvm: upgrade zerocopy to 0.8 2025-02-24 11:35:51 -08:00
power_monitor Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
prebuilts Workspace deps grab bag 2025-05-16 11:26:38 -07:00
proc_init crosvm: avoid unnecessary allocations if errors are not hit 2025-08-27 10:08:27 -07:00
proto_build_tools Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
protos Remove crosvm plugin feature 2025-10-15 13:29:45 -07:00
resources Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
riscv64 rand: Bump dependency to 0.9.2 2026-01-30 03:12:59 -08:00
sandbox sandbox: Fix static-mut-refs error 2025-11-21 13:20:06 -08:00
serde_keyvalue Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
snapshot Workspace deps grab bag 2025-05-16 11:26:38 -07:00
src vmm_vhost: remove type param from Connection and VhostUserMsgHeader 2026-01-27 12:25:41 -08:00
swap Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
system_api Cargo.lock: update protobuf 3.6 -> 3.7.2 2025-03-10 13:48:23 -07:00
tests Remove crosvm plugin feature 2025-10-15 13:29:45 -07:00
third_party vmm_vhost: use zerocopy for VhostUserMsgHeader 2026-01-27 12:25:47 -08:00
tools infra: Use llvm-tools-preview's llvm tools 2025-12-17 14:29:52 -08:00
tube_transporter Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
usb_sys Use workspace dependencies: base 2025-05-15 17:52:56 -07:00
usb_util Revert "usb_util: handle EINVAL from DISCARDURB as non-error" 2026-01-06 18:01:21 -08:00
vendor broker_ipc: rename it to proc_init 2025-06-24 14:43:24 -07:00
vfio_sys vfio_platform: Add support for power_{on,off}() 2026-01-23 14:09:42 -08:00
vhost use workspace-style for static_assertions dependency 2025-12-02 13:09:16 -08:00
virtio_sys Use workspace dependencies: crosvm workspace crates 2025-05-15 19:26:10 -07:00
vm_control devices: Support HVC-based device PM (pKVM) 2026-01-23 14:29:56 -08:00
vm_memory Update Rust toolchain to 1.88 2025-11-21 13:21:47 -08:00
win_audio Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
win_util Upgrade the windows crate to 0.61.1 2025-06-03 15:26:03 -07:00
x86_64 rand: Bump dependency to 0.9.2 2026-01-30 03:12:59 -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 third_party: delete minigbm and virglrenderer submodules 2025-10-17 12:36:38 -07: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 rand: Bump dependency to 0.9.2 2026-01-30 03:12:59 -08:00
Cargo.toml rand: Bump dependency to 0.9.2 2026-01-30 03:12:59 -08:00
CONTRIBUTING.md CONTRIBUTING.md: Fix link to Gerrit account section 2025-12-01 14:30:46 -08:00
DIR_METADATA Remove parallels test plan 2026-01-26 10:46:55 -08: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: removing dverkamp@chromium.org 2025-06-10 10:02:17 -07:00
OWNERS_COUNCIL OWNERS: removing dverkamp@chromium.org 2025-06-10 10:02:17 -07: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 Update Rust toolchain to 1.88 2025-11-21 13:21:47 -08: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