crosvm/disk
Frederick Mayle 49794f44da virtio: block: flush disk image as part of sleep
This is mainly for qcow2, which doesn't immediately write all mutations
to file. It is important that all writes be sent to the OS so that
snapshots taken while asleep do not lose information.

BUG=b:266514327
TEST=patched into AOSP and manually ran snapshot-restore flow

Change-Id: I2a9f24120d51fd053ff1440d0e1750e9bbebf379
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4679843
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Frederick Mayle <fmayle@google.com>
Reviewed-by: Elie Kheirallah <khei@google.com>
2023-07-12 22:26:17 +00:00
..
src virtio: block: flush disk image as part of sleep 2023-07-12 22:26:17 +00:00
Cargo.toml Cargo.toml: upgrade protobuf 2.x -> 3.x 2023-04-28 19:32:01 +00:00