crosvm/disk/src
Daniel Verkamp ed6b27ab26 base: pass OpenOptions to open_file instead of bools
This cleans up the API and makes it easier to tell what is happening at
the call site. Additionally, callers may now use any options supported
by OpenOptions rather than the two specific flags (read_only and
o_direct) that were previously supported.

BUG=None
TEST=tools/presubmit

Change-Id: Ib8b5350c60807f14ebe0816d71bbf31e4bfef67f
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3553763
Reviewed-by: Noah Gold <nkgold@google.com>
Reviewed-by: Vikram Auradkar <auradkar@google.com>
Reviewed-by: Anton Romanov <romanton@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
2022-03-28 19:37:54 +00:00
..
qcow base: pass OpenOptions to open_file instead of bools 2022-03-28 19:37:54 +00:00
android_sparse.rs disk: convert to ThisError and sort 2021-09-02 21:00:21 +00:00
composite.rs base: pass OpenOptions to open_file instead of bools 2022-03-28 19:37:54 +00:00
disk.rs disk: fix compile-time warning 2022-03-17 07:40:51 +00:00
gpt.rs Add methods to create composite disk image. 2021-07-07 15:59:02 +00:00