No description
Find a file
Daniel Verkamp 9c12c41185 rutabaga_gfx: remove use of VolatileRef
Replace the command parsing code that used VolatileRef with the new
DataInit::read_from_prefix() function. The code is parsing a normal Rust
&[u8] slice, so it does not need to use volatile loads at all.

BUG=None
TEST=tools/presubmit --all

Change-Id: I1ee57404ae39da3400f455959e7d396f20a0d22b
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3823999
Reviewed-by: Ryan Neph <ryanneph@google.com>
Tested-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2022-08-16 18:43:03 +00:00
.cargo crosvm: Fix cross-compile in dev container 2022-07-19 17:07:49 +00:00
.devcontainer tools: enable search feature for mdbook 2022-07-29 21:16:21 +00:00
.github github: update contributing link 2022-07-29 22:54:01 +00:00
.vscode Add python configs for consistency between IDE and CI 2022-08-16 18:33:23 +00:00
aarch64 devices: support hotplug for pcie switch 2022-08-10 18:50:26 +00:00
acpi_tables Reformat imports 2022-07-28 00:15:50 +00:00
anti_tamper crosvm: upstream windows src 2022-07-19 20:58:59 +00:00
arch devices: support hotplug for pcie switch 2022-08-10 18:50:26 +00:00
argh_helpers crosvm: resync crosvm windows 2022-07-29 20:56:41 +00:00
base base/src: Migrate Unix Tube to use StreamChannel 2022-08-15 23:15:12 +00:00
bin Deprecate old dev tooling scripts 2021-11-02 22:23:03 +00:00
bit_field Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
broker_ipc Reformat imports 2022-07-28 00:15:50 +00:00
ci/kokoro ci: skip choco checksum 2022-07-13 17:21:48 +00:00
common data_model: add read_from_prefix() function 2022-08-16 18:43:03 +00:00
cros_async cros_async: fix doc test failing 2022-08-16 02:09:32 +00:00
crosvm-fuzz Reformat imports 2022-07-28 00:15:50 +00:00
crosvm_control crosvm: update book and doc links to crosvm.dev 2022-07-29 22:54:01 +00:00
crosvm_plugin Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
devices vhost: mask out vhost IOTLB flag 2022-08-16 06:52:23 +00:00
disk Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
docs/book Revert "crosvm: Embed seccomp filters into binary" 2022-08-05 07:20:52 +00:00
fuse Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
gpu_display gpu_display: switch from UnixStream to StreamChannel. 2022-08-12 20:55:34 +00:00
hypervisor x86_64: add new option enable-hwp to expose HWP feature to guests 2022-08-05 20:33:12 +00:00
infra infra: Add README about /config 2022-08-16 14:23:53 +00:00
integration_tests integration_tests: fixture: Set kernel path after extra arguments 2022-08-10 02:37:07 +00:00
io_uring Reformat imports 2022-07-28 00:15:50 +00:00
kernel_cmdline Reformat imports 2022-07-28 00:15:50 +00:00
kernel_loader Reformat imports 2022-07-28 00:15:50 +00:00
kvm Reformat imports 2022-07-28 00:15:50 +00:00
kvm_sys Reformat imports 2022-07-28 00:15:50 +00:00
libcras_stub crosvm: migrate to Rust 2021 edition 2022-03-09 01:16:03 +00:00
linux_input_sys Revert "x display: ST event emulation for MT events" 2022-08-09 00:11:50 +00:00
logo README: Use PNG logo image 2021-10-29 01:56:23 +00:00
media media: ffmpeg: Remove AsMut from AvFrame. 2022-08-12 04:48:35 +00:00
metrics crosvm: resync crosvm windows 2022-07-29 20:56:41 +00:00
net_sys Reformat imports 2022-07-28 00:15:50 +00:00
net_util Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
power_monitor Reformat imports 2022-07-28 00:15:50 +00:00
protos Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
qcow_utils Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
resources resources: optimize region coalescing 2022-08-03 02:09:50 +00:00
rutabaga_gfx rutabaga_gfx: remove use of VolatileRef 2022-08-16 18:43:03 +00:00
seccomp crosvm: add block support to "devices" command 2022-08-04 04:00:31 +00:00
serde_keyvalue Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
src crosvm: devices: document serial option properly 2022-08-16 09:17:35 +00:00
system_api_stub crosvm: migrate to Rust 2021 edition 2022-03-09 01:16:03 +00:00
tests Reformat imports 2022-07-28 00:15:50 +00:00
third_party Revert "third_party/minijail: update to latest main" 2022-08-09 23:00:30 +00:00
tools Add python configs for consistency between IDE and CI 2022-08-16 18:33:23 +00:00
tpm2 Reformat imports 2022-07-28 00:15:50 +00:00
tpm2-sys tpm2-sys: build libtpm2 with -Wno-error 2022-07-28 00:26:00 +00:00
tracing tracing: Add noop tracing 2022-06-16 21:13:55 +00:00
tube_transporter Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
usb_sys Reformat imports 2022-07-28 00:15:50 +00:00
usb_util Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
vfio_sys direct_irq: support forwarding of ACPI fixed events 2022-08-09 09:24:31 +00:00
vhost Reformat imports 2022-07-28 00:15:50 +00:00
virtio_sys Reformat imports 2022-07-28 00:15:50 +00:00
vm_control base/src: Migrate Unix Tube to use StreamChannel 2022-08-15 23:15:12 +00:00
vm_memory Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
win_audio Remove redundant {self} imports 2022-08-01 21:27:54 +00:00
win_util Reformat imports 2022-07-28 00:15:50 +00:00
x86_64 x86_64: Fix incorrect _OSC in DSDT 2022-08-15 19:34:12 +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 third_party/minijail: switch to chromium repository 2022-08-09 21:38:24 +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
Cargo.lock Add Cargo.lock files to version control again 2022-08-15 19:38:44 +00:00
Cargo.toml Revert "crosvm: Embed seccomp filters into binary" 2022-08-05 07:20:52 +00:00
CONTRIBUTING.md contributing: fix "uploaad" typo 2022-08-01 23:30:44 +00:00
LICENSE add LICENSE and README 2017-04-17 14:06:21 -07:00
mypy.ini Add python configs for consistency between IDE and CI 2022-08-16 18:33:23 +00:00
navbar.md crosvm: update book and doc links to crosvm.dev 2022-07-29 22:54:01 +00:00
OWNERS OWNERS: Add comments 2022-07-05 10:34:14 +00:00
PRESUBMIT.cfg Switch main crosvm repo 2022-07-14 17:58:26 +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
run_tests Deprecate old dev tooling scripts 2021-11-02 22:23:03 +00:00
rust-toolchain rust-toolchain: update to 1.60.0 2022-07-28 17:46:00 +00:00
setup_cros_cargo.sh Deprecate old dev tooling scripts 2021-11-02 22:23:03 +00:00
test_all Deprecate old dev tooling scripts 2021-11-02 22:23:03 +00:00
unblocked_terms.txt unblocked_terms.txt: clean up trivial cases 2021-04-26 20:32:38 +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