crosvm/qcow/Cargo.toml
Daniel Verkamp 95a8868aef qcow: implement WriteZeroes for QcowFile
Add a simple implementation of WriteZeroes for QcowFile that just
writes zeroes to allocated clusters and skips clusters that are already
unallocated (since they already read back as zeroes).

BUG=chromium:850998
TEST=cargo test -p qcow

Change-Id: I8f26c8cc4016c129850aaf08c7188dfe08d6dacb
Signed-off-by: Daniel Verkamp <dverkamp@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1187018
Reviewed-by: Dylan Reid <dgreid@chromium.org>
Reviewed-by: Zach Reizner <zachr@chromium.org>
2018-09-05 01:25:50 -07:00

13 lines
187 B
TOML

[package]
name = "qcow"
version = "0.1.0"
authors = ["The Chromium OS Authors"]
[lib]
path = "src/qcow.rs"
[dependencies]
byteorder = "*"
libc = "*"
sys_util = { path = "../sys_util" }