mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-09 20:04:20 +00:00
ac9a459761
Rather than tying AsyncDisk::read_to_mem/write_from_mem to the GuestMemory type specifically, use dyn BackingMemory like the underlying read_to_mem/write_from_mem calls in cros_async. This will allow an async version of QcowFile to use these functions to read/write temporary buffers as part of its internal bookkeeping. BUG=b:219595052 TEST=tools/presubmit Change-Id: I4ca3c976bf5dca68e3bbe0e3f163023b47034254 Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3824065 Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org> Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Tested-by: Daniel Verkamp <dverkamp@chromium.org> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |