crosvm/disk/src
Daniel Verkamp be451c2a8c disk: qcow: pass raw file offset in write_cb
Modify the write callback function to take the offset into the raw
(backing) file as a parameter rather than seeking to the expected
location of the write. This allows removal of the FileReadWriteVolatile
import in qcow, since this was the last use. This also matches the
read_cb, which already passed the backing file offset explicitly.

BUG=b:219595052
TEST=tools/presubmit

Change-Id: I4ac18d4dbe26e8b196eb8a9c056036565eb39501
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3462641
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2022-02-17 22:04:24 +00:00
..
qcow disk: qcow: pass raw file offset in write_cb 2022-02-17 22:04:24 +00:00
android_sparse.rs disk: convert to ThisError and sort 2021-09-02 21:00:21 +00:00
composite.rs clippy: fix disk crate 2022-02-07 22:22:38 +00:00
disk.rs qcow_utils: remove qcow_img utility and debug fns 2022-02-17 22:04:20 +00:00
gpt.rs Add methods to create composite disk image. 2021-07-07 15:59:02 +00:00