No description
Find a file
Junnan Wu b7191b0188 crosvm: add "writable" option for create_composite
Currently, create_composite generates a read-only composite disk by default.

But in embedded system, sometime we need to use a real disk partition as the
backing file. In this case, it is required to create a writable composite disk.
So an optional "writable" argument is added in the command line.

BUG=b:318862474
TEST=cargo test --features composite-disk
TEST=./tools/presubmit
TEST=create a writable composite disk and use it as the backing of virtio-blk,
     the writing works well.

Signed-off-by: Junnan Wu <junnan01.wu@samsung.com>
Change-Id: I05033473cf28628887926b18fe17429e267f26f3
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5179893
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
2024-01-25 01:50:29 +00:00
.cargo
.config
.devcontainer
.github
.vscode
aarch64 kernel_loader: Add support for LZ4-compressed kernels 2024-01-24 22:48:25 +00:00
acpi_tables
arch Clone host CPU capacity/clusters for --host-cpu-topology 2024-01-12 10:03:55 +00:00
argh_helpers
audio_streams_conformance_test
audio_util
base base: emit Result from FileDataIterator 2024-01-23 01:23:53 +00:00
bit_field
broker_ipc
common
cros_async cros_async: Implement "into_source" for OverlappedSource 2024-01-19 01:20:31 +00:00
cros_fdt cros_fdt: Do not apply children of filtered nodes 2024-01-22 10:37:57 +00:00
cros_tracing
cros_tracing_types
crosvm_cli
crosvm_control
crosvm_plugin
devices devices: virtio: fs: Make atomic_open use negative dentry 2024-01-18 04:03:49 +00:00
disk
docs/book docs: Fix link to the internal uprev playbook 2024-01-23 18:49:48 +00:00
e2e_tests Cargo.lock: update to shlex 1.3 2024-01-24 23:11:36 +00:00
fuse devices: virtio: fs: Make atomic_open use negative dentry 2024-01-18 04:03:49 +00:00
fuzz
gpu_display
hypervisor hypervisor: haxm: Update bindings 2024-01-24 01:42:58 +00:00
infra Roll recipe dependencies (trivial). 2024-01-24 18:37:18 +00:00
io_uring
jail seccomp: battery: allow clock_getres and getrandom on non-x86 2024-01-23 00:16:36 +00:00
kernel_cmdline
kernel_loader kernel_loader: Add support for LZ4-compressed kernels 2024-01-24 22:48:25 +00:00
kvm
kvm_sys kvm_sys: add riscv support to bindgen.sh 2024-01-09 00:37:43 +00:00
libcras_stub
linux_input_sys linux_input_sys: simplify input event decoders 2024-01-11 02:44:19 +00:00
logo
media
metrics
net_sys
net_util
perfetto
power_monitor
prebuilts
proto_build_tools
protos
resources
riscv64 Clone host CPU capacity/clusters for --host-cpu-topology 2024-01-12 10:03:55 +00:00
rutabaga_gfx
sandbox
serde_keyvalue
src crosvm: add "writable" option for create_composite 2024-01-25 01:50:29 +00:00
swap base: emit Result from FileDataIterator 2024-01-23 01:23:53 +00:00
system_api
tests
third_party
tools dev_container: Pass proxy setting 2024-01-24 18:36:22 +00:00
tube_transporter
usb_sys
usb_util
vendor
vfio_sys
vhost
virtio_sys
vm_control devices: SnapshotReader/Writer abstraction + new snapshot format 2024-01-16 21:42:29 +00:00
vm_memory base: emit Result from FileDataIterator 2024-01-23 01:23:53 +00:00
win_audio
win_util
x86_64 Clone host CPU capacity/clusters for --host-cpu-topology 2024-01-12 10:03:55 +00:00
.dockerignore
.envrc
.gitattributes
.gitignore
.gitmodules
.rustfmt.toml
ARCHITECTURE.md
Cargo.lock Cargo.lock: update to shlex 1.3 2024-01-24 23:11:36 +00:00
Cargo.toml Cargo.toml: Move pci-hotplug flag to all-default 2024-01-10 03:03:06 +00:00
CONTRIBUTING.md
DIR_METADATA
LICENSE
mypy.ini
OWNERS
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