No description
Find a file
Daniel Verkamp 2686efd337 devices: convert various devices to use WorkerThread
As much as possible, this patch retains the original behavior of each
device's worker thread, so there should be no observable differences in
behavior.

BUG=b:269187468
TEST=Boot Crostini and ARCVM on x86_64 and aarch64 machines

Change-Id: I3b839194ddc1e229a2bcca7c20beac6068790645
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4237531
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Frederick Mayle <fmayle@google.com>
2023-02-23 01:31:22 +00:00
.cargo toolchain refactoring: Only support native out of the box 2023-01-24 17:33:29 +00:00
.config tools/run_tests2: Prepare for CI usage 2023-02-09 00:09:02 +00:00
.devcontainer dev_container: Add mdformat-tables to dependency 2022-11-15 22:36:38 +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 jail: create jail crate from jail_helpers.rs 2023-02-14 00:24:55 +00:00
acpi_tables acpi: Mark structs as repr(C, packed) 2023-02-08 21:32:43 +00:00
anti_tamper kiwi: clean anti_tamper and metrics related code 2023-01-04 00:08:27 +00:00
arch jail: create jail crate from jail_helpers.rs 2023-02-14 00:24:55 +00:00
argh_helpers Update all copyright headers to match new style 2022-09-13 18:41:29 +00:00
base disk: add PunchHoleMut trait 2023-02-22 01:53:38 +00:00
bit_field crosvm: Uprev rust toolchain and dev container 2023-02-08 20:26:30 +00:00
broker_ipc Fix remaining Chrome/Chromium OS instances 2023-01-03 22:14:30 +00:00
common data_model: fix IoBufMut references in comments 2023-02-22 19:36:07 +00:00
crash_report metrics: Add missing process types 2023-02-22 20:01:38 +00:00
cros_async cros_async: add select9 and select10 2023-02-21 22:03:59 +00:00
cros_fdt crosvm: fdt: Add option to dump generated devicetree blob 2023-01-20 20:26:55 +00:00
cros_tracing cros_tracing: do not print errors in push_descriptors() 2023-02-21 20:31:28 +00:00
crosvm-fuzz Add conditional compilation for unix-only crates 2023-01-19 21:21:59 +00:00
crosvm_cli crosvm_cli: Add missing Windows exit codes 2023-02-22 20:02:20 +00:00
crosvm_control crosvm_control: Add vmm swap (enable/disable/swapout) API 2023-01-26 07:47:48 +00:00
crosvm_plugin Add conditional compilation for unix-only crates 2023-01-19 21:21:59 +00:00
devices devices: convert various devices to use WorkerThread 2023-02-23 01:31:22 +00:00
disk disk: add PunchHoleMut trait 2023-02-22 01:53:38 +00:00
docs/book Revert "x86_64: place setup_data immediately after cmdline" 2023-02-21 05:37:18 +00:00
e2e_tests e2e_tests: Make prebuilt version part of the file name 2023-02-21 23:21:45 +00:00
fuse crosvm: Partially convert DataInit to zerocopy (1/n) 2023-02-02 19:28:57 +00:00
gpu_display crosvm: Partially convert DataInit to zerocopy (6/n) 2023-02-10 01:52:24 +00:00
hypervisor Fix clippy errors on aarch64/armhf 2023-02-09 00:09:02 +00:00
infra Roll recipe dependencies (trivial). 2023-02-22 02:01:24 +00:00
io_uring Add conditional compilation for unix-only crates 2023-01-19 21:21:59 +00:00
jail crosvm: plugin: use create_sandbox_minijail() for plugin 2023-02-21 01:07:20 +00:00
kernel_cmdline Rust 1.65: Fix clippy derive_partial_eq_without_eq lints 2022-12-01 01:32:30 +00:00
kernel_loader crosvm: Partially convert DataInit to zerocopy (1/n) 2023-02-02 19:28:57 +00:00
kvm Fix clippy errors on aarch64/armhf 2023-02-09 00:09:02 +00:00
kvm_sys Add conditional compilation for unix-only crates 2023-01-19 21:21:59 +00:00
libcras_stub Fix remaining Chrome/Chromium OS instances 2023-01-03 22:14:30 +00:00
linux_input_sys crosvm: Partially convert DataInit to zerocopy (6/n) 2023-02-10 01:52:24 +00:00
logo
media crosvm: Uprev rust toolchain and dev container 2023-02-08 20:26:30 +00:00
metrics metrics: Add missing process types 2023-02-22 20:01:38 +00:00
net_sys Fix remaining Chrome/Chromium OS instances 2023-01-03 22:14:30 +00:00
net_util virtio_sys: Update bindgen to derive zerocopy 2023-02-09 22:59:10 +00:00
power_monitor power_monitor: refactor to use ReadNotifier 2023-01-03 22:37:36 +00:00
prebuilts e2e_tests: Clarify prebuilt download logs 2023-02-07 20:17:23 +00:00
proto_build_tools proto_build_tools: dont fail silently 2023-01-31 18:03:00 +00:00
protos Add conditional compilation for unix-only crates 2023-01-19 21:21:59 +00:00
qcow_utils Add conditional compilation for unix-only crates 2023-01-19 21:21:59 +00:00
resources resource: system_allocator: introduce GPE allocator 2023-02-06 22:02:37 +00:00
rutabaga_gfx crosvm: Convert DataInit to zerocopy (8/n) 2023-02-21 21:12:31 +00:00
sandbox Fix remaining Chrome/Chromium OS instances 2023-01-03 22:14:30 +00:00
serde_keyvalue Fix remaining Chrome/Chromium OS instances 2023-01-03 22:14:30 +00:00
src Move IRQ handling to its own thread. 2023-02-23 01:15:15 +00:00
swap swap: punch a hole to swap file if the pages are removed 2023-02-22 01:53:38 +00:00
system_api Fix remaining Chrome/Chromium OS instances 2023-01-03 22:14:30 +00:00
tests Enable parallel execution of plugin and e2e tests 2023-01-26 20:38:57 +00:00
third_party crosvm: Partially convert DataInit to zerocopy (1/n) 2023-02-02 19:28:57 +00:00
tools audio_streams_conformance_test: add debug mode 2023-02-21 14:50:38 +00:00
tpm2 Add conditional compilation for unix-only crates 2023-01-19 21:21:59 +00:00
tpm2-sys Add conditional compilation for unix-only crates 2023-01-19 21:21:59 +00:00
tube_transporter crosvm: Uprev rust toolchain and dev container 2023-02-08 20:26:30 +00:00
usb_sys Fix remaining Chrome/Chromium OS instances 2023-01-03 22:14:30 +00:00
usb_util crosvm: Partially convert DataInit to zerocopy (2/n) 2023-02-07 23:08:23 +00:00
vfio_sys vfio_sys: Update bindgen to derive zerocopy 2023-02-09 23:07:28 +00:00
vhost Fix remaining Chrome/Chromium OS instances 2023-01-03 22:14:30 +00:00
virtio_sys virtio_sys: Update bindgen to derive zerocopy 2023-02-09 22:59:10 +00:00
vm_control vm_control: refactor do_while_vcpus_suspended 2023-02-22 23:41:55 +00:00
vm_memory vm_memory: option to set MADV_DONTFORK on guest memory 2023-02-16 18:23:47 +00:00
win_audio kiwi: clean anti_tamper and metrics related code 2023-01-04 00:08:27 +00:00
win_util metrics: Add missing process types 2023-02-22 20:01:38 +00:00
x86_64 Revert "x86_64: place setup_data immediately after cmdline" 2023-02-21 05:37:18 +00:00
.dockerignore
.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 jail: create jail crate from jail_helpers.rs 2023-02-14 00:24:55 +00:00
Cargo.lock Move IRQ handling to its own thread. 2023-02-23 01:15:15 +00:00
Cargo.toml Move IRQ handling to its own thread. 2023-02-23 01:15:15 +00:00
CONTRIBUTING.md docs: typos and nits in CONTRIBUTING.md 2023-01-31 00:24:46 +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 Require council review for changes to Cargo.lock 2022-12-01 18:50:48 +00:00
OWNERS_COUNCIL Require council review for changes to Cargo.lock 2022-12-01 18:50:48 +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: Add llvm-tools-preview 2023-02-10 20:47:41 +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