crosvm/devices/src
Daniel Verkamp 3c62aac88f devices: virtio: block: keep disk allocated on resize
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>
2020-01-24 20:22:49 +00:00
..
pci Vfio: Ignore vfio device's multifunction flag 2020-01-07 05:58:48 +00:00
register_space Reformat with rustfmt from Rust 1.38.0 2019-10-17 03:35:36 +00:00
usb devices: xhci: use get_bar_addr() to find BAR 0 2020-01-23 20:11:06 +00:00
utils Add explicit dyn for trait objects 2019-10-17 03:35:35 +00:00
virtio devices: virtio: block: keep disk allocated on resize 2020-01-24 20:22:49 +00:00
bus.rs
cmos.rs
i8042.rs crosvm: PIT: use full address and avoid conflict 2019-12-10 05:08:11 +00:00
ioapic.rs devices: IOAPIC: ignore interrupt polarity 2019-12-10 05:08:08 +00:00
lib.rs devices: remove user_command from proxy device 2020-01-09 07:53:57 +00:00
pic.rs
pit.rs
pl030.rs
proxy.rs devices: remove user_command from proxy device 2020-01-09 07:53:57 +00:00
serial.rs devices: remove user_command from proxy device 2020-01-09 07:53:57 +00:00
split_irqchip_common.rs
vfio.rs Vfio: Add igd Opregion support 2020-01-07 05:58:46 +00:00