diff options
author | Dylan Reid <dgreid@chromium.org> | 2017-12-13 09:09:40 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-01-19 23:29:52 -0800 |
commit | 76968703ad9f5c4edb4c533026ee35b6bd54a3d2 (patch) | |
tree | fb9e20a74397d184f794cc32362fc6e0075aa492 /Cargo.lock | |
parent | e56e045b18259399b424a0dd2cb8c53309478b71 (diff) | |
download | crosvm-76968703ad9f5c4edb4c533026ee35b6bd54a3d2.tar crosvm-76968703ad9f5c4edb4c533026ee35b6bd54a3d2.tar.gz crosvm-76968703ad9f5c4edb4c533026ee35b6bd54a3d2.tar.bz2 crosvm-76968703ad9f5c4edb4c533026ee35b6bd54a3d2.tar.lz crosvm-76968703ad9f5c4edb4c533026ee35b6bd54a3d2.tar.xz crosvm-76968703ad9f5c4edb4c533026ee35b6bd54a3d2.tar.zst crosvm-76968703ad9f5c4edb4c533026ee35b6bd54a3d2.zip |
Add qcow support crate
QCOW2 files will be used to store the VM's data on ChromeOS. Add support for basic reading and writing of qcow files. CQ-DEPEND=CL:872451 BUG=none TEST=qcow unit tests and use "qemu-image check" to verify generated qcow files. Change-Id: I4b9e77e58edca69f894ede19e79ebd2cd7b2623e Signed-off-by: Dylan Reid <dgreid@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/862628 Reviewed-by: Stephen Barber <smbarber@chromium.org>
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index d09fc4c..954c1ed 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,6 +14,7 @@ dependencies = [ "kernel_loader 0.1.0", "kvm 0.1.0", "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "qcow 0.1.0", "sys_util 0.1.0", "vm_control 0.1.0", "x86_64 0.1.0", @@ -45,6 +46,11 @@ version = "0.3.54" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] +name = "getopts" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] name = "io_jail" version = "0.1.0" dependencies = [ @@ -98,6 +104,16 @@ dependencies = [ ] [[package]] +name = "qcow" +version = "0.1.0" +dependencies = [ + "byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "getopts 0.2.15 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)", + "sys_util 0.1.0", +] + +[[package]] name = "sys_util" version = "0.1.0" dependencies = [ @@ -154,4 +170,5 @@ dependencies = [ [metadata] "checksum byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ff81738b726f5d099632ceaffe7fb65b90212e8dce59d518729e7e8634032d3d" "checksum gcc 0.3.54 (registry+https://github.com/rust-lang/crates.io-index)" = "5e33ec290da0d127825013597dbdfc28bee4964690c7ce1166cbc2a7bd08b1bb" +"checksum getopts 0.2.15 (registry+https://github.com/rust-lang/crates.io-index)" = "65922871abd2f101a2eb0eaebadc66668e54a87ad9c3dd82520b5f86ede5eff9" "checksum libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)" = "36fbc8a8929c632868295d0178dd8f63fc423fd7537ad0738372bd010b3ac9b0" |