No description
Find a file
Daniel Verkamp be451c2a8c disk: qcow: pass raw file offset in write_cb
Modify the write callback function to take the offset into the raw
(backing) file as a parameter rather than seeking to the expected
location of the write. This allows removal of the FileReadWriteVolatile
import in qcow, since this was the last use. This also matches the
read_cb, which already passed the backing file offset explicitly.

BUG=b:219595052
TEST=tools/presubmit

Change-Id: I4ac18d4dbe26e8b196eb8a9c056036565eb39501
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3462641
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2022-02-17 22:04:24 +00:00
.cargo clippy: fix devices crate 2022-02-07 22:22:39 +00:00
.devcontainer Make vscode devcontainer usable 2022-01-25 21:30:49 +00:00
.github github: Specify mdbook's target path 2022-02-02 06:14:27 +00:00
aarch64 aarch64: generalize FDT PCI node parameters 2022-02-16 21:44:56 +00:00
acpi_tables Upstream windows build/test script 2022-01-28 00:55:08 +00:00
arch Upstream windows build/test script 2022-01-28 00:55:08 +00:00
bin Deprecate old dev tooling scripts 2021-11-02 22:23:03 +00:00
bit_field Upstream windows build/test script 2022-01-28 00:55:08 +00:00
ci/kokoro ci/kokoro: add a no-default-features build 2022-02-04 21:19:33 +00:00
common sys_util: remove SeekHole trait 2022-02-17 22:04:21 +00:00
crosvm-fuzz disk: qcow: rewrite tests using FileReadWriteAtVolatile 2022-02-17 22:04:23 +00:00
crosvm_control Upstream windows build/test script 2022-01-28 00:55:08 +00:00
crosvm_plugin Upstream windows build/test script 2022-01-28 00:55:08 +00:00
devices system_allocator: Check io range. 2022-02-17 22:03:47 +00:00
disk disk: qcow: pass raw file offset in write_cb 2022-02-17 22:04:24 +00:00
docs/book docs: Enable mdbook-linkcheck 2022-02-02 02:52:54 +00:00
fuse Upstream windows build/test script 2022-01-28 00:55:08 +00:00
gpu_display Upstream windows build/test script 2022-01-28 00:55:08 +00:00
hypervisor Check KVM_CAP_ARM_PROTECTED_VM after creating a protected VM. 2022-01-28 16:16:26 +00:00
integration_tests Upstream windows build/test script 2022-01-28 00:55:08 +00:00
kernel_cmdline Upstream windows build/test script 2022-01-28 00:55:08 +00:00
kernel_loader Upstream windows build/test script 2022-01-28 00:55:08 +00:00
kvm clippy: Fix kvm(_sys) 2022-02-07 22:22:41 +00:00
kvm_sys clippy: Fix kvm(_sys) 2022-02-07 22:22:41 +00:00
libcras_stub Upstream windows build/test script 2022-01-28 00:55:08 +00:00
libvda clippy: Fix libvda 2022-02-07 22:22:42 +00:00
linux_input_sys Upstream windows build/test script 2022-01-28 00:55:08 +00:00
logo README: Use PNG logo image 2021-10-29 01:56:23 +00:00
net_sys clippy: Fix net_sys / virtio_sys / x86_64 2022-02-07 22:22:43 +00:00
net_util Upstream windows build/test script 2022-01-28 00:55:08 +00:00
power_monitor Upstream windows build/test script 2022-01-28 00:55:08 +00:00
protos Upstream windows build/test script 2022-01-28 00:55:08 +00:00
qcow_utils qcow_utils: remove qcow_img utility and debug fns 2022-02-17 22:04:20 +00:00
resources system_allocator: Check io range. 2022-02-17 22:03:47 +00:00
rutabaga_gfx Remove rutabaga_gfx_ffi from workspace 2022-02-11 15:58:56 +00:00
seccomp devices: xhci: allow statx syscall on x86_64 2022-02-11 19:40:28 +00:00
src Allow sandbox pivot root directory to be given on command-line. 2022-02-17 11:29:59 +00:00
system_api_stub Upstream windows build/test script 2022-01-28 00:55:08 +00:00
tests tests/plugins: replace rand_ish use with a counter 2021-07-21 23:28:27 +00:00
third_party Prepare vmm_vhost to be milti-platform 2/2 2022-02-15 20:56:20 +00:00
tools create_merge: Add BUG= lines into merge commit message 2022-02-17 19:11:03 +00:00
tpm2 Upstream windows build/test script 2022-01-28 00:55:08 +00:00
tpm2-sys Upstream windows build/test script 2022-01-28 00:55:08 +00:00
usb_sys Upstream windows build/test script 2022-01-28 00:55:08 +00:00
usb_util Upstream windows build/test script 2022-01-28 00:55:08 +00:00
vfio_sys Upstream windows build/test script 2022-01-28 00:55:08 +00:00
vhost Upstream windows build/test script 2022-01-28 00:55:08 +00:00
virtio_sys clippy: Fix net_sys / virtio_sys / x86_64 2022-02-07 22:22:43 +00:00
vm_control Upgrade rust toolchain version to 1.58.1 2022-02-04 02:20:36 +00:00
vm_memory iommu: Add generic MemoryMapper interface 2022-02-09 07:31:01 +00:00
x86_64 system_allocator: Check io range. 2022-02-17 22:03:47 +00:00
.dockerignore add docker supported builds and tests 2019-05-15 13:36:19 -07:00
.gitignore Add test runner ./tools/run_tests 2021-10-15 22:12:03 +00:00
.gitmodules Switch to submodules based workflow 2021-08-05 18:32:32 +00:00
.rustfmt.toml rustfmt.toml: Use 2018 edition 2021-02-10 11:54:06 +00:00
.windows_build_test_skip Upstream windows build/test script 2022-01-28 00:55:08 +00:00
ARCHITECTURE.md linux: split out linux mod into multiple 2022-01-28 23:07:01 +00:00
Cargo.toml Remove rutabaga_gfx_ffi from workspace 2022-02-11 15:58:56 +00:00
CONTRIBUTING.md CONTRIBUTING: Add links to mdbook 2022-02-01 10:39:32 +00:00
LICENSE add LICENSE and README 2017-04-17 14:06:21 -07:00
navbar.md docs: Use mdformat to format markdown files 2022-01-27 21:29:11 +00:00
OWNERS OWNERS: Add crosvm-bot 2022-01-27 23:41:23 +00:00
README.chromeos.md docs: Use mdformat to format markdown files 2022-01-27 21:29:11 +00:00
README.md docs: Use mdformat to format markdown files 2022-01-27 21:29:11 +00:00
run_tests Deprecate old dev tooling scripts 2021-11-02 22:23:03 +00:00
rust-toolchain Upgrade rust toolchain version to 1.58.1 2022-02-04 02:20:36 +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