crosvm/disk
Daniel Verkamp aa25762cd1 disk: qcow: flush BufWriter before dropping
As mentioned in the docs[1], we should be flushing the BufWriter to
ensure we can catch write errors.

[1]: https://doc.rust-lang.org/std/io/struct.BufWriter.html

Change-Id: I7b9d9f306618692fc5cb1c93f0c7ff7aa87c6e16
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5977146
Reviewed-by: Cody Schuffelen <schuffelen@google.com>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-by: Frederick Mayle <fmayle@google.com>
2024-10-30 00:15:45 +00:00
..
src disk: qcow: flush BufWriter before dropping 2024-10-30 00:15:45 +00:00
Cargo.toml disk: consolidate disk file opening logic 2024-09-09 20:39:03 +00:00