mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-11 04:26:38 +00:00
When a non-sparse disk is resized, we should allocate storage for the newly-expanded space when the disk is grown to maintain the non-sparseness. To accomplish this, add a call to allocate in the resize function in the block device. BUG=chromium:858815 TEST=`crosvm disk resize ...` and verify disk image is fully allocated Change-Id: If263aa2b5c9da11b8bfc0586e4ac1575f2bd7084 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/2015829 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org> |
||
---|---|---|
.. | ||
pci | ||
register_space | ||
usb | ||
utils | ||
virtio | ||
bus.rs | ||
cmos.rs | ||
i8042.rs | ||
ioapic.rs | ||
lib.rs | ||
pic.rs | ||
pit.rs | ||
pl030.rs | ||
proxy.rs | ||
serial.rs | ||
split_irqchip_common.rs | ||
vfio.rs |