cloud-hypervisor/fuzz/fuzz_targets
Anatol Belski 7dfcbff309 vmm: config: Add sparse flag to control disk space allocation
Add sparse boolean configuration option to DiskConfig with a default
value of true to control disk space allocation behavior.

When sparse is true, the disk uses sparse allocation where deallocated
blocks are returned to the filesystem, and the DISCARD feature is
advertised to the guest.

When sparse is false, disk space is kept fully allocated and DISCARD
is not advertised.

WRITE_ZEROES is always advertised when the backend supports it,
regardless of the sparse setting.

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
2026-02-13 18:44:30 +00:00
..
balloon.rs fuzz: explicitly keep or reject fuzzer corpus 2024-12-31 19:49:48 +00:00
block.rs vmm: config: Add sparse flag to control disk space allocation 2026-02-13 18:44:30 +00:00
cmos.rs fuzz: explicitly keep or reject fuzzer corpus 2024-12-31 19:49:48 +00:00
console.rs fuzz: explicitly keep or reject fuzzer corpus 2024-12-31 19:49:48 +00:00
http_api.rs vmm: disk resize infrastructure 2025-12-17 13:54:52 +00:00
iommu.rs virtio-devices: iommu: allow limiting maximum address width in bits 2025-01-14 21:31:47 +00:00
linux_loader.rs misc: Further improve imports styling 2024-09-29 16:13:48 +00:00
linux_loader_cmdline.rs fuzz: explicitly keep or reject fuzzer corpus 2024-12-31 19:49:48 +00:00
mem.rs fuzz: explicitly keep or reject fuzzer corpus 2024-12-31 19:49:48 +00:00
net.rs fuzz: explicitly keep or reject fuzzer corpus 2024-12-31 19:49:48 +00:00
pmem.rs misc: do not use u64 to represent host pointers 2025-11-22 10:24:13 +00:00
qcow.rs fuzz: explicitly keep or reject fuzzer corpus 2024-12-31 19:49:48 +00:00
rng.rs fuzz: explicitly keep or reject fuzzer corpus 2024-12-31 19:49:48 +00:00
serial.rs build: Apply cargo fmt check to fuzz workspace 2024-09-29 13:08:12 +01:00
vhdx.rs fuzz: explicitly keep or reject input for vhdx fuzzer 2025-01-08 22:45:58 +00:00
vsock.rs tests: streamline module names to unit_tests 2025-11-20 21:15:03 +00:00
watchdog.rs fuzz: explicitly keep or reject fuzzer corpus 2024-12-31 19:49:48 +00:00
x86emul.rs fuzz: introduce an x86 instruction emulator fuzzer 2025-01-02 22:43:59 +00:00