mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-10-25 21:39:48 +00:00
76968703ad
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>
175 lines
4.1 KiB
TOML
175 lines
4.1 KiB
TOML
[[package]]
|
|
name = "byteorder"
|
|
version = "1.1.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
[[package]]
|
|
name = "crosvm"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"data_model 0.1.0",
|
|
"devices 0.1.0",
|
|
"io_jail 0.1.0",
|
|
"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",
|
|
]
|
|
|
|
[[package]]
|
|
name = "data_model"
|
|
version = "0.1.0"
|
|
|
|
[[package]]
|
|
name = "devices"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"data_model 0.1.0",
|
|
"io_jail 0.1.0",
|
|
"libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"net_sys 0.1.0",
|
|
"net_util 0.1.0",
|
|
"sys_util 0.1.0",
|
|
"vhost 0.1.0",
|
|
"virtio_sys 0.1.0",
|
|
"vm_control 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "gcc"
|
|
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 = [
|
|
"libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
]
|
|
|
|
[[package]]
|
|
name = "kernel_loader"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "kvm"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"kvm_sys 0.1.0",
|
|
"libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "kvm_sys"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "libc"
|
|
version = "0.2.34"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
[[package]]
|
|
name = "net_sys"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "net_util"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"net_sys 0.1.0",
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[[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 = [
|
|
"data_model 0.1.0",
|
|
"gcc 0.3.54 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"syscall_defines 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "syscall_defines"
|
|
version = "0.1.0"
|
|
|
|
[[package]]
|
|
name = "vhost"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"net_util 0.1.0",
|
|
"sys_util 0.1.0",
|
|
"virtio_sys 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "virtio_sys"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "vm_control"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"data_model 0.1.0",
|
|
"kvm 0.1.0",
|
|
"libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "x86_64"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"data_model 0.1.0",
|
|
"kvm 0.1.0",
|
|
"kvm_sys 0.1.0",
|
|
"libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[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"
|