No description
Find a file
Dennis Kempin a5b5e4b9a6 Enable rustfmt nightly in container and CI
This enables nightly rustfmt features in CI so we can keep a consistent
imports style.

The resulting formatting changes are in the follow-up CL and will
need to submit together.

This change also uncovered a bug from a previous commit that caused only
the first command in a series to be waited for. Formatting issues would
not be reported by the tool. The bug is fixed as part of this CL.

BUG=b:302055317
TEST=dev_container presubmit format --no-delta

Change-Id: I5d50609cc89d7e78bce66db120737a302f5c57e8
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4950268
Reviewed-by: Zihan Chen <zihanchen@google.com>
Commit-Queue: Dennis Kempin <denniskempin@google.com>
Reviewed-by: Dennis Kempin <denniskempin@google.com>
2023-11-29 18:41:29 +00:00
.cargo
.config
.devcontainer
.github
.vscode
aarch64 vfio_platform: Map device MMIO before booting pVMs 2023-11-17 12:04:03 +00:00
acpi_tables crosvm: Uprev zerocopy to 0.7.x 2023-10-10 17:34:32 +00:00
arch devices: serial: add name to SerialParameters 2023-11-21 05:05:59 +00:00
argh_helpers argh_helpers: use fold() to build String from iterator 2023-11-06 22:22:50 +00:00
audio_streams_conformance_test Rename "unix" to "linux" in code and docs 2023-10-11 01:15:07 +00:00
audio_util
base data_model: move IoBuf and VolatileMemory to base 2023-11-27 21:42:49 +00:00
bit_field
broker_ipc Pass logging args to child processes 2023-10-23 23:59:55 +00:00
common data_model: move IoBuf and VolatileMemory to base 2023-11-27 21:42:49 +00:00
cros_async data_model: move IoBuf and VolatileMemory to base 2023-11-27 21:42:49 +00:00
cros_fdt fdt: Add support for pKVM-VFIO pvIOMMUs 2023-11-15 10:50:46 +00:00
cros_tracing devices: virtio: Add trace points to virtio-blk and virtio-scsi 2023-11-16 11:34:15 +00:00
cros_tracing_types
crosvm_cli Fix some cargo doc warnings in Windows-only code 2023-09-22 00:59:46 +00:00
crosvm_control crosvm_control: fix typo 2023-10-18 17:34:18 +00:00
crosvm_plugin Convert ScmSocket to a struct 2023-11-22 05:47:15 +00:00
devices vmm_vhost: rename Endpoint to Connection 2023-11-29 00:02:34 +00:00
disk data_model: move IoBuf and VolatileMemory to base 2023-11-27 21:42:49 +00:00
docs/book docs: add info about two-step snapshotting 2023-11-21 20:26:48 +00:00
e2e_tests jail: Generate fresh syscall frequency table 2023-11-29 00:45:52 +00:00
fuse fuse: Update SAFETY comments 2023-11-28 02:32:25 +00:00
fuzz data_model: move IoBuf and VolatileMemory to base 2023-11-27 21:42:49 +00:00
gpu_display gpu_display: add Surface implementation for Windows. 2023-11-28 20:04:06 +00:00
hypervisor hypervisor: stop restoring TSC offset snapshot. 2023-11-22 23:04:24 +00:00
infra Roll recipe dependencies (trivial). 2023-11-28 21:19:27 +00:00
io_uring data_model: move IoBuf and VolatileMemory to base 2023-11-27 21:42:49 +00:00
jail jail: Generate fresh syscall frequency table 2023-11-29 00:45:52 +00:00
kernel_cmdline
kernel_loader data_model: move IoBuf and VolatileMemory to base 2023-11-27 21:42:49 +00:00
kvm Fix tests with non-4K pages 2023-11-10 23:26:00 +00:00
kvm_sys vfio: Add support for pKVM-VFIO pvIOMMUs 2023-11-15 10:50:46 +00:00
libcras_stub
linux_input_sys gpu_display: add KeyboardInputManager to handle key events on Windows. 2023-11-17 01:34:38 +00:00
logo
media media: ffmpeg: update bindings to ffmpeg 6.0 2023-11-20 18:34:35 +00:00
metrics Tweaks to placate clippy single_range_in_vec_init 2023-11-06 23:36:11 +00:00
net_sys net_util, devices: refactor platform-specific net code 2023-11-27 19:23:56 +00:00
net_util net_util, devices: refactor platform-specific net code 2023-11-27 19:23:56 +00:00
perfetto Replace #[cfg(unix)] with #[cfg(any(target_os = "android", target_os = "linux"))] 2023-10-11 00:43:29 +00:00
power_monitor
prebuilts Rename "unix" to "linux" in code and docs 2023-10-11 01:15:07 +00:00
proto_build_tools
protos Replace #[cfg(unix)] with #[cfg(any(target_os = "android", target_os = "linux"))] 2023-10-11 00:43:29 +00:00
resources Fix clippy useless_conversion into_iter() warnings 2023-11-06 19:43:56 +00:00
riscv64 riscv: Fix broken build after crrev.com/c/5029655 2023-11-20 18:46:07 +00:00
rutabaga_gfx rutabaga_gfx: Uprev nix to 0.27.1 2023-11-29 18:36:53 +00:00
sandbox
serde_keyvalue Fix clippy warning for unnecessary raw string quoting 2023-11-06 20:50:05 +00:00
src vmm_vhost: rename Endpoint to Connection 2023-11-29 00:02:34 +00:00
swap swap: pack page states into 32 bit integer 2023-11-28 04:55:21 +00:00
system_api Replace #[cfg(unix)] with #[cfg(any(target_os = "android", target_os = "linux"))] 2023-10-11 00:43:29 +00:00
tests Rename "unix" to "linux" in code and docs 2023-10-11 01:15:07 +00:00
third_party vmm_vhost: rename Endpoint to Connection 2023-11-29 00:02:34 +00:00
tools Enable rustfmt nightly in container and CI 2023-11-29 18:41:29 +00:00
tube_transporter Fix some cargo doc warnings in Windows-only code 2023-09-22 00:59:46 +00:00
usb_sys devices: usb: Add the OWNERS file 2023-10-13 01:34:19 +00:00
usb_util devices: usb: Add the OWNERS file 2023-10-13 01:34:19 +00:00
vendor vm_control: gpu: remove kiwi feature 2023-10-24 23:19:03 +00:00
vfio_sys vfio: Add support for pKVM-VFIO pvIOMMUs 2023-11-15 10:50:46 +00:00
vhost Fix tests with non-4K pages 2023-11-10 23:26:00 +00:00
virtio_sys virtio_sys: move vhost ioctls to a Linux-only file 2023-11-03 20:49:19 +00:00
vm_control hypervisor: stop restoring TSC offset snapshot. 2023-11-22 23:04:24 +00:00
vm_memory data_model: move IoBuf and VolatileMemory to base 2023-11-27 21:42:49 +00:00
win_audio win_audio: Upstream changes 2023-10-02 21:13:40 +00:00
win_util gpu_display: add KeyboardInputManager to handle key events on Windows. 2023-11-17 01:34:38 +00:00
x86_64 data_model: move IoBuf and VolatileMemory to base 2023-11-27 21:42:49 +00:00
.dockerignore
.envrc
.gitattributes config: force lf as line endings 2023-11-07 17:38:58 +00:00
.gitignore
.gitmodules devices: remove --software-tpm support 2023-10-02 23:28:45 +00:00
.rustfmt.toml Enable rustfmt nightly in container and CI 2023-11-29 18:41:29 +00:00
ARCHITECTURE.md
Cargo.lock rutabaga_gfx: Uprev nix to 0.27.1 2023-11-29 18:36:53 +00:00
Cargo.toml crosvm: Add more release build profiles 2023-11-16 20:18:01 +00:00
CONTRIBUTING.md Replace #[cfg(unix)] with #[cfg(any(target_os = "android", target_os = "linux"))] 2023-10-11 00:43:29 +00:00
DIR_METADATA
LICENSE
mypy.ini
OWNERS crosvm: add fmayle@ to OWNERS 2023-10-27 18:10:14 +00:00
OWNERS_COUNCIL
PRESUBMIT.cfg
pyproject.toml
README.chromeos.md
README.md
rust-toolchain

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