mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-24 20:48:55 +00:00
28359e141f
Replace the uses of read_struct() and read_struct_slice() with the safe DataInit::from_reader() implementation. BUG=b:197263364 TEST=./test_all TEST=Boot bzImage kernel TEST=Boot raw ELF kernel extracted with extract_vmlinux Change-Id: I80f98243bfb58a7ae93e1686bc4d92b0cd485cda Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3108249 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
1338 lines
25 KiB
TOML
1338 lines
25 KiB
TOML
# This file is automatically @generated by Cargo.
|
|
# It is not intended for manual editing.
|
|
[[package]]
|
|
name = "aarch64"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"arch",
|
|
"base",
|
|
"data_model",
|
|
"devices",
|
|
"hypervisor",
|
|
"kernel_cmdline",
|
|
"kvm",
|
|
"kvm_sys",
|
|
"libc",
|
|
"minijail",
|
|
"remain",
|
|
"resources",
|
|
"sync",
|
|
"thiserror",
|
|
"vm_control",
|
|
"vm_memory",
|
|
]
|
|
|
|
[[package]]
|
|
name = "acpi_tables"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"data_model",
|
|
"tempfile",
|
|
]
|
|
|
|
[[package]]
|
|
name = "android_log-sys"
|
|
version = "0.2.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "85965b6739a430150bdd138e2374a98af0c3ee0d030b3bb7fc3bddff58d0102e"
|
|
|
|
[[package]]
|
|
name = "anyhow"
|
|
version = "1.0.35"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "2c0df63cb2955042487fad3aefd2c6e3ae7389ac5dc1beb28921de0b69f779d4"
|
|
|
|
[[package]]
|
|
name = "arch"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"acpi_tables",
|
|
"base",
|
|
"devices",
|
|
"gdbstub_arch",
|
|
"hypervisor",
|
|
"kernel_cmdline",
|
|
"libc",
|
|
"minijail",
|
|
"power_monitor",
|
|
"remain",
|
|
"resources",
|
|
"sync",
|
|
"thiserror",
|
|
"vm_control",
|
|
"vm_memory",
|
|
]
|
|
|
|
[[package]]
|
|
name = "assertions"
|
|
version = "0.1.0"
|
|
|
|
[[package]]
|
|
name = "async-task"
|
|
version = "4.0.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "e91831deabf0d6d7ec49552e489aed63b7456a7a3c46cff62adad428110b0af0"
|
|
|
|
[[package]]
|
|
name = "async-trait"
|
|
version = "0.1.36"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "a265e3abeffdce30b2e26b7a11b222fe37c6067404001b434101457d0385eb92"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "audio_streams"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"async-trait",
|
|
"cros_async",
|
|
"remain",
|
|
"sync",
|
|
"sys_util",
|
|
"thiserror",
|
|
]
|
|
|
|
[[package]]
|
|
name = "autocfg"
|
|
version = "0.1.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "a6d640bee2da49f60a4068a7fae53acde8982514ab7bae8b8cea9e88cbcfd799"
|
|
|
|
[[package]]
|
|
name = "autocfg"
|
|
version = "1.0.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
|
|
|
|
[[package]]
|
|
name = "base"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"cros_async",
|
|
"data_model",
|
|
"libc",
|
|
"remain",
|
|
"serde",
|
|
"serde_json",
|
|
"smallvec",
|
|
"sync",
|
|
"sys_util",
|
|
"thiserror",
|
|
]
|
|
|
|
[[package]]
|
|
name = "bit_field"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"bit_field_derive",
|
|
]
|
|
|
|
[[package]]
|
|
name = "bit_field_derive"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "bitflags"
|
|
version = "1.2.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
|
|
|
|
[[package]]
|
|
name = "cc"
|
|
version = "1.0.25"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "f159dfd43363c4d08055a07703eb7a3406b0dac4d0584d96965a3262db3c9d16"
|
|
|
|
[[package]]
|
|
name = "cfg-if"
|
|
version = "0.1.10"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
|
|
|
|
[[package]]
|
|
name = "cfg-if"
|
|
version = "1.0.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
|
[[package]]
|
|
name = "cloudabi"
|
|
version = "0.0.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
|
|
dependencies = [
|
|
"bitflags",
|
|
]
|
|
|
|
[[package]]
|
|
name = "crc32fast"
|
|
version = "1.2.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "81156fece84ab6a9f2afdb109ce3ae577e42b1228441eded99bd77f627953b1a"
|
|
dependencies = [
|
|
"cfg-if 1.0.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "cros_async"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"async-task",
|
|
"async-trait",
|
|
"data_model",
|
|
"futures",
|
|
"intrusive-collections",
|
|
"io_uring",
|
|
"libc",
|
|
"once_cell",
|
|
"paste",
|
|
"pin-utils",
|
|
"remain",
|
|
"slab",
|
|
"sync",
|
|
"sys_util",
|
|
"thiserror",
|
|
]
|
|
|
|
[[package]]
|
|
name = "cros_fuzz"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"rand_core 0.4.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "crosvm"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"aarch64",
|
|
"acpi_tables",
|
|
"arch",
|
|
"assertions",
|
|
"audio_streams",
|
|
"base",
|
|
"bit_field",
|
|
"crosvm_plugin",
|
|
"data_model",
|
|
"devices",
|
|
"disk",
|
|
"enumn",
|
|
"gdbstub",
|
|
"gdbstub_arch",
|
|
"hypervisor",
|
|
"kernel_cmdline",
|
|
"kernel_loader",
|
|
"kvm",
|
|
"kvm_sys",
|
|
"libc",
|
|
"libcras",
|
|
"minijail",
|
|
"net_util",
|
|
"p9",
|
|
"protobuf",
|
|
"protos",
|
|
"remain",
|
|
"resources",
|
|
"rutabaga_gfx",
|
|
"serde_json",
|
|
"sync",
|
|
"tempfile",
|
|
"thiserror",
|
|
"vhost",
|
|
"vm_control",
|
|
"vm_memory",
|
|
"x86_64",
|
|
]
|
|
|
|
[[package]]
|
|
name = "crosvm-fuzz"
|
|
version = "0.0.1"
|
|
dependencies = [
|
|
"base",
|
|
"cros_fuzz",
|
|
"data_model",
|
|
"devices",
|
|
"disk",
|
|
"fuse",
|
|
"kernel_loader",
|
|
"libc",
|
|
"rand",
|
|
"tempfile",
|
|
"usb_util",
|
|
"vm_memory",
|
|
]
|
|
|
|
[[package]]
|
|
name = "crosvm_plugin"
|
|
version = "0.17.0"
|
|
dependencies = [
|
|
"base",
|
|
"kvm",
|
|
"kvm_sys",
|
|
"libc",
|
|
"protobuf",
|
|
"protos",
|
|
]
|
|
|
|
[[package]]
|
|
name = "data_model"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"assertions",
|
|
"libc",
|
|
"serde",
|
|
]
|
|
|
|
[[package]]
|
|
name = "dbus"
|
|
version = "0.8.4"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "5cd9e78c210146a1860f897db03412fd5091fd73100778e43ee255cca252cf32"
|
|
dependencies = [
|
|
"libc",
|
|
"libdbus-sys",
|
|
]
|
|
|
|
[[package]]
|
|
name = "devices"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"acpi_tables",
|
|
"anyhow",
|
|
"audio_streams",
|
|
"base",
|
|
"bit_field",
|
|
"cros_async",
|
|
"data_model",
|
|
"disk",
|
|
"enumn",
|
|
"fuse",
|
|
"futures",
|
|
"getopts",
|
|
"gpu_display",
|
|
"hypervisor",
|
|
"kvm_sys",
|
|
"libc",
|
|
"libcras",
|
|
"libvda",
|
|
"linux_input_sys",
|
|
"minijail",
|
|
"net_sys",
|
|
"net_util",
|
|
"once_cell",
|
|
"p9",
|
|
"power_monitor",
|
|
"protos",
|
|
"remain",
|
|
"resources",
|
|
"rutabaga_gfx",
|
|
"serde",
|
|
"smallvec",
|
|
"sync",
|
|
"sys_util",
|
|
"tempfile",
|
|
"thiserror",
|
|
"tpm2",
|
|
"usb_util",
|
|
"vfio_sys",
|
|
"vhost",
|
|
"virtio_sys",
|
|
"vm_control",
|
|
"vm_memory",
|
|
"vmm_vhost",
|
|
]
|
|
|
|
[[package]]
|
|
name = "disk"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"async-trait",
|
|
"base",
|
|
"crc32fast",
|
|
"cros_async",
|
|
"data_model",
|
|
"futures",
|
|
"libc",
|
|
"protobuf",
|
|
"protos",
|
|
"remain",
|
|
"tempfile",
|
|
"thiserror",
|
|
"uuid",
|
|
"vm_memory",
|
|
]
|
|
|
|
[[package]]
|
|
name = "downcast-rs"
|
|
version = "1.2.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "9ea835d29036a4087793836fa931b08837ad5e957da9e23886b29586fb9b6650"
|
|
|
|
[[package]]
|
|
name = "enumn"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "fuchsia-cprng"
|
|
version = "0.1.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba"
|
|
|
|
[[package]]
|
|
name = "fuse"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
"bitflags",
|
|
"data_model",
|
|
"enumn",
|
|
"libc",
|
|
"thiserror",
|
|
]
|
|
|
|
[[package]]
|
|
name = "futures"
|
|
version = "0.3.13"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "7f55667319111d593ba876406af7c409c0ebb44dc4be6132a783ccf163ea14c1"
|
|
dependencies = [
|
|
"futures-channel",
|
|
"futures-core",
|
|
"futures-io",
|
|
"futures-sink",
|
|
"futures-task",
|
|
"futures-util",
|
|
]
|
|
|
|
[[package]]
|
|
name = "futures-channel"
|
|
version = "0.3.13"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "8c2dd2df839b57db9ab69c2c9d8f3e8c81984781937fe2807dc6dcf3b2ad2939"
|
|
dependencies = [
|
|
"futures-core",
|
|
"futures-sink",
|
|
]
|
|
|
|
[[package]]
|
|
name = "futures-core"
|
|
version = "0.3.13"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "15496a72fabf0e62bdc3df11a59a3787429221dd0710ba8ef163d6f7a9112c94"
|
|
|
|
[[package]]
|
|
name = "futures-io"
|
|
version = "0.3.13"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "d71c2c65c57704c32f5241c1223167c2c3294fd34ac020c807ddbe6db287ba59"
|
|
|
|
[[package]]
|
|
name = "futures-sink"
|
|
version = "0.3.13"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "85754d98985841b7d4f5e8e6fbfa4a4ac847916893ec511a2917ccd8525b8bb3"
|
|
|
|
[[package]]
|
|
name = "futures-task"
|
|
version = "0.3.13"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "fa189ef211c15ee602667a6fcfe1c1fd9e07d42250d2156382820fba33c9df80"
|
|
|
|
[[package]]
|
|
name = "futures-util"
|
|
version = "0.3.13"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "1812c7ab8aedf8d6f2701a43e1243acdbcc2b36ab26e2ad421eb99ac963d96d1"
|
|
dependencies = [
|
|
"futures-channel",
|
|
"futures-core",
|
|
"futures-io",
|
|
"futures-sink",
|
|
"futures-task",
|
|
"memchr",
|
|
"pin-project-lite",
|
|
"pin-utils",
|
|
"slab",
|
|
]
|
|
|
|
[[package]]
|
|
name = "gdbstub"
|
|
version = "0.5.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "7e135587d3f6eee6fa02c4ba174270c2337424e6d852c156942c0840b3c0f5cc"
|
|
dependencies = [
|
|
"cfg-if 0.1.10",
|
|
"log",
|
|
"managed",
|
|
"num-traits",
|
|
"paste",
|
|
]
|
|
|
|
[[package]]
|
|
name = "gdbstub_arch"
|
|
version = "0.1.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "e358b9c0e1468eae66099062e47bb502849308b987b74b5e72f1936397c33c16"
|
|
dependencies = [
|
|
"gdbstub",
|
|
"num-traits",
|
|
]
|
|
|
|
[[package]]
|
|
name = "getopts"
|
|
version = "0.2.21"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5"
|
|
dependencies = [
|
|
"unicode-width",
|
|
]
|
|
|
|
[[package]]
|
|
name = "getrandom"
|
|
version = "0.2.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "ee8025cf36f917e6a52cce185b7c7177689b838b7ec138364e50cc2277a56cf4"
|
|
dependencies = [
|
|
"cfg-if 0.1.10",
|
|
"libc",
|
|
"wasi",
|
|
]
|
|
|
|
[[package]]
|
|
name = "gpu_display"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
"cc",
|
|
"data_model",
|
|
"libc",
|
|
"linux_input_sys",
|
|
"pkg-config",
|
|
]
|
|
|
|
[[package]]
|
|
name = "hermit-abi"
|
|
version = "0.1.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "307c3c9f937f38e3534b1d6447ecf090cafcc9744e4a6360e8b037b2cf5af120"
|
|
dependencies = [
|
|
"libc",
|
|
]
|
|
|
|
[[package]]
|
|
name = "hypervisor"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
"bit_field",
|
|
"data_model",
|
|
"downcast-rs",
|
|
"enumn",
|
|
"kvm",
|
|
"kvm_sys",
|
|
"libc",
|
|
"serde",
|
|
"sync",
|
|
"vm_memory",
|
|
]
|
|
|
|
[[package]]
|
|
name = "integration_tests"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"anyhow",
|
|
"arch",
|
|
"base",
|
|
"crosvm",
|
|
"libc",
|
|
"tempfile",
|
|
]
|
|
|
|
[[package]]
|
|
name = "intrusive-collections"
|
|
version = "0.9.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "4bca8c0bb831cd60d4dda79a58e3705ca6eb47efb65d665651a8d672213ec3db"
|
|
dependencies = [
|
|
"memoffset",
|
|
]
|
|
|
|
[[package]]
|
|
name = "io_uring"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"data_model",
|
|
"libc",
|
|
"sync",
|
|
"sys_util",
|
|
"thiserror",
|
|
]
|
|
|
|
[[package]]
|
|
name = "itoa"
|
|
version = "0.4.7"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736"
|
|
|
|
[[package]]
|
|
name = "kernel_cmdline"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"libc",
|
|
]
|
|
|
|
[[package]]
|
|
name = "kernel_loader"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
"data_model",
|
|
"libc",
|
|
"tempfile",
|
|
"vm_memory",
|
|
]
|
|
|
|
[[package]]
|
|
name = "kvm"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
"data_model",
|
|
"kvm_sys",
|
|
"libc",
|
|
"sync",
|
|
"vm_memory",
|
|
]
|
|
|
|
[[package]]
|
|
name = "kvm_sys"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
"data_model",
|
|
"libc",
|
|
]
|
|
|
|
[[package]]
|
|
name = "libc"
|
|
version = "0.2.94"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "18794a8ad5b29321f790b55d93dfba91e125cb1a9edbd4f8e3150acc771c1a5e"
|
|
|
|
[[package]]
|
|
name = "libcras"
|
|
version = "0.1.0"
|
|
|
|
[[package]]
|
|
name = "libcrosvm_control"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
"libc",
|
|
"vm_control",
|
|
]
|
|
|
|
[[package]]
|
|
name = "libdbus-sys"
|
|
version = "0.2.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "dc12a3bc971424edbbf7edaf6e5740483444db63aa8e23d3751ff12a30f306f0"
|
|
dependencies = [
|
|
"pkg-config",
|
|
]
|
|
|
|
[[package]]
|
|
name = "libvda"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"enumn",
|
|
"libc",
|
|
"pkg-config",
|
|
]
|
|
|
|
[[package]]
|
|
name = "linux_input_sys"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
"data_model",
|
|
"libc",
|
|
]
|
|
|
|
[[package]]
|
|
name = "log"
|
|
version = "0.4.14"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"
|
|
dependencies = [
|
|
"cfg-if 1.0.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "managed"
|
|
version = "0.8.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "0ca88d725a0a943b096803bd34e73a4437208b6077654cc4ecb2947a5f91618d"
|
|
|
|
[[package]]
|
|
name = "memchr"
|
|
version = "2.4.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc"
|
|
|
|
[[package]]
|
|
name = "memoffset"
|
|
version = "0.5.6"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "043175f069eda7b85febe4a74abbaeff828d9f8b448515d3151a14a3542811aa"
|
|
dependencies = [
|
|
"autocfg 1.0.1",
|
|
]
|
|
|
|
[[package]]
|
|
name = "minijail"
|
|
version = "0.2.2"
|
|
dependencies = [
|
|
"libc",
|
|
"minijail-sys",
|
|
]
|
|
|
|
[[package]]
|
|
name = "minijail-sys"
|
|
version = "0.0.12"
|
|
dependencies = [
|
|
"libc",
|
|
"pkg-config",
|
|
]
|
|
|
|
[[package]]
|
|
name = "net_sys"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
]
|
|
|
|
[[package]]
|
|
name = "net_util"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
"cros_async",
|
|
"data_model",
|
|
"libc",
|
|
"net_sys",
|
|
"thiserror",
|
|
]
|
|
|
|
[[package]]
|
|
name = "num-traits"
|
|
version = "0.2.12"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "ac267bcc07f48ee5f8935ab0d24f316fb722d7a1292e2913f0cc196b29ffd611"
|
|
dependencies = [
|
|
"autocfg 1.0.1",
|
|
]
|
|
|
|
[[package]]
|
|
name = "num_cpus"
|
|
version = "1.13.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3"
|
|
dependencies = [
|
|
"hermit-abi",
|
|
"libc",
|
|
]
|
|
|
|
[[package]]
|
|
name = "once_cell"
|
|
version = "1.7.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3"
|
|
|
|
[[package]]
|
|
name = "p9"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"libc",
|
|
"sys_util",
|
|
"wire_format_derive",
|
|
]
|
|
|
|
[[package]]
|
|
name = "paste"
|
|
version = "1.0.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "ba7ae1a2180ed02ddfdb5ab70c70d596a26dd642e097bb6fe78b1bde8588ed97"
|
|
|
|
[[package]]
|
|
name = "pin-project-lite"
|
|
version = "0.2.4"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "439697af366c49a6d0a010c56a0d97685bc140ce0d377b13a2ea2aa42d64a827"
|
|
|
|
[[package]]
|
|
name = "pin-utils"
|
|
version = "0.1.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
|
|
|
[[package]]
|
|
name = "pkg-config"
|
|
version = "0.3.19"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c"
|
|
|
|
[[package]]
|
|
name = "poll_token_derive"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "power_monitor"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
"dbus",
|
|
"protobuf",
|
|
"protoc-rust",
|
|
]
|
|
|
|
[[package]]
|
|
name = "proc-macro2"
|
|
version = "1.0.26"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "a152013215dca273577e18d2bf00fa862b89b24169fb78c4c95aeb07992c9cec"
|
|
dependencies = [
|
|
"unicode-xid",
|
|
]
|
|
|
|
[[package]]
|
|
name = "protobuf"
|
|
version = "2.24.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "db50e77ae196458ccd3dc58a31ea1a90b0698ab1b7928d89f644c25d72070267"
|
|
|
|
[[package]]
|
|
name = "protobuf-codegen"
|
|
version = "2.24.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "09321cef9bee9ddd36884f97b7f7cc92a586cdc74205c4b3aeba65b5fc9c6f90"
|
|
dependencies = [
|
|
"protobuf",
|
|
]
|
|
|
|
[[package]]
|
|
name = "protoc"
|
|
version = "2.24.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "c367feabb5f78ca3b2ec25e2c4a5f4f0826017d7fb634f52961afd1a6613d1fb"
|
|
dependencies = [
|
|
"log",
|
|
"which",
|
|
]
|
|
|
|
[[package]]
|
|
name = "protoc-rust"
|
|
version = "2.24.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "7bb2c1038f8014a2e42fdffec03ffc03f574a8bf66b0ac32f1b6941681eb1317"
|
|
dependencies = [
|
|
"protobuf",
|
|
"protobuf-codegen",
|
|
"protoc",
|
|
"tempfile",
|
|
]
|
|
|
|
[[package]]
|
|
name = "protos"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"kvm_sys",
|
|
"protobuf",
|
|
"protoc-rust",
|
|
]
|
|
|
|
[[package]]
|
|
name = "qcow_utils"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
"disk",
|
|
"getopts",
|
|
"libc",
|
|
]
|
|
|
|
[[package]]
|
|
name = "quote"
|
|
version = "1.0.9"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
]
|
|
|
|
[[package]]
|
|
name = "rand"
|
|
version = "0.6.5"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca"
|
|
dependencies = [
|
|
"autocfg 0.1.2",
|
|
"libc",
|
|
"rand_chacha",
|
|
"rand_core 0.4.0",
|
|
"rand_hc",
|
|
"rand_isaac",
|
|
"rand_jitter",
|
|
"rand_os",
|
|
"rand_pcg",
|
|
"rand_xorshift",
|
|
"winapi",
|
|
]
|
|
|
|
[[package]]
|
|
name = "rand_chacha"
|
|
version = "0.1.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef"
|
|
dependencies = [
|
|
"autocfg 0.1.2",
|
|
"rand_core 0.3.1",
|
|
]
|
|
|
|
[[package]]
|
|
name = "rand_core"
|
|
version = "0.3.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b"
|
|
dependencies = [
|
|
"rand_core 0.4.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "rand_core"
|
|
version = "0.4.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "d0e7a549d590831370895ab7ba4ea0c1b6b011d106b5ff2da6eee112615e6dc0"
|
|
|
|
[[package]]
|
|
name = "rand_hc"
|
|
version = "0.1.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4"
|
|
dependencies = [
|
|
"rand_core 0.3.1",
|
|
]
|
|
|
|
[[package]]
|
|
name = "rand_isaac"
|
|
version = "0.1.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08"
|
|
dependencies = [
|
|
"rand_core 0.3.1",
|
|
]
|
|
|
|
[[package]]
|
|
name = "rand_jitter"
|
|
version = "0.1.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "7b9ea758282efe12823e0d952ddb269d2e1897227e464919a554f2a03ef1b832"
|
|
dependencies = [
|
|
"libc",
|
|
"rand_core 0.4.0",
|
|
"winapi",
|
|
]
|
|
|
|
[[package]]
|
|
name = "rand_os"
|
|
version = "0.1.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "b7c690732391ae0abafced5015ffb53656abfaec61b342290e5eb56b286a679d"
|
|
dependencies = [
|
|
"cloudabi",
|
|
"fuchsia-cprng",
|
|
"libc",
|
|
"rand_core 0.4.0",
|
|
"rdrand",
|
|
"winapi",
|
|
]
|
|
|
|
[[package]]
|
|
name = "rand_pcg"
|
|
version = "0.1.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44"
|
|
dependencies = [
|
|
"autocfg 0.1.2",
|
|
"rand_core 0.4.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "rand_xorshift"
|
|
version = "0.1.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c"
|
|
dependencies = [
|
|
"rand_core 0.3.1",
|
|
]
|
|
|
|
[[package]]
|
|
name = "rdrand"
|
|
version = "0.4.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2"
|
|
dependencies = [
|
|
"rand_core 0.3.1",
|
|
]
|
|
|
|
[[package]]
|
|
name = "remain"
|
|
version = "0.2.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "99c861227fc40c8da6fdaa3d58144ac84c0537080a43eb1d7d45c28f88dcb888"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "resources"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
"libc",
|
|
"serde",
|
|
]
|
|
|
|
[[package]]
|
|
name = "rutabaga_gfx"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
"data_model",
|
|
"libc",
|
|
"sync",
|
|
]
|
|
|
|
[[package]]
|
|
name = "ryu"
|
|
version = "1.0.5"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e"
|
|
|
|
[[package]]
|
|
name = "serde"
|
|
version = "1.0.125"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "558dc50e1a5a5fa7112ca2ce4effcb321b0300c0d4ccf0776a9f60cd89031171"
|
|
dependencies = [
|
|
"serde_derive",
|
|
]
|
|
|
|
[[package]]
|
|
name = "serde_derive"
|
|
version = "1.0.125"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "b093b7a2bb58203b5da3056c05b4ec1fed827dcfdb37347a8841695263b3d06d"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "serde_json"
|
|
version = "1.0.64"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "799e97dc9fdae36a5c8b8f2cae9ce2ee9fdce2058c57a93e6099d919fd982f79"
|
|
dependencies = [
|
|
"itoa",
|
|
"ryu",
|
|
"serde",
|
|
]
|
|
|
|
[[package]]
|
|
name = "slab"
|
|
version = "0.4.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "f173ac3d1a7e3b28003f40de0b5ce7fe2710f9b9dc3fc38664cebee46b3b6527"
|
|
|
|
[[package]]
|
|
name = "smallvec"
|
|
version = "1.6.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "fe0f37c9e8f3c5a4a66ad655a93c74daac4ad00c441533bf5c6e7990bb42604e"
|
|
|
|
[[package]]
|
|
name = "syn"
|
|
version = "1.0.72"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "a1e8cdbefb79a9a5a65e0db8b47b723ee907b7c7f8496c76a1770b5c310bab82"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"unicode-xid",
|
|
]
|
|
|
|
[[package]]
|
|
name = "sync"
|
|
version = "0.1.0"
|
|
|
|
[[package]]
|
|
name = "sys_util"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"android_log-sys",
|
|
"data_model",
|
|
"libc",
|
|
"poll_token_derive",
|
|
"serde",
|
|
"serde_json",
|
|
"sync",
|
|
"tempfile",
|
|
"thiserror",
|
|
]
|
|
|
|
[[package]]
|
|
name = "tempfile"
|
|
version = "3.0.7"
|
|
dependencies = [
|
|
"libc",
|
|
]
|
|
|
|
[[package]]
|
|
name = "thiserror"
|
|
version = "1.0.20"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "7dfdd070ccd8ccb78f4ad66bf1982dc37f620ef696c6b5028fe2ed83dd3d0d08"
|
|
dependencies = [
|
|
"thiserror-impl",
|
|
]
|
|
|
|
[[package]]
|
|
name = "thiserror-impl"
|
|
version = "1.0.20"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "bd80fc12f73063ac132ac92aceea36734f04a1d93c1240c6944e23a3b8841793"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "tpm2"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"tpm2-sys",
|
|
]
|
|
|
|
[[package]]
|
|
name = "tpm2-sys"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"num_cpus",
|
|
"pkg-config",
|
|
]
|
|
|
|
[[package]]
|
|
name = "unicode-width"
|
|
version = "0.1.8"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3"
|
|
|
|
[[package]]
|
|
name = "unicode-xid"
|
|
version = "0.2.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
|
|
|
|
[[package]]
|
|
name = "usb_sys"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
]
|
|
|
|
[[package]]
|
|
name = "usb_util"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"assertions",
|
|
"base",
|
|
"data_model",
|
|
"libc",
|
|
"remain",
|
|
"usb_sys",
|
|
]
|
|
|
|
[[package]]
|
|
name = "uuid"
|
|
version = "0.8.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "bc5cf98d8186244414c848017f0e2676b3fcb46807f6668a97dfe67359a3c4b7"
|
|
dependencies = [
|
|
"getrandom",
|
|
]
|
|
|
|
[[package]]
|
|
name = "vfio_sys"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
]
|
|
|
|
[[package]]
|
|
name = "vhost"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"assertions",
|
|
"base",
|
|
"libc",
|
|
"net_util",
|
|
"virtio_sys",
|
|
"vm_memory",
|
|
]
|
|
|
|
[[package]]
|
|
name = "vhost_user_devices"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"anyhow",
|
|
"devices",
|
|
]
|
|
|
|
[[package]]
|
|
name = "virtio_sys"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
]
|
|
|
|
[[package]]
|
|
name = "vm_control"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
"data_model",
|
|
"gdbstub_arch",
|
|
"hypervisor",
|
|
"libc",
|
|
"resources",
|
|
"rutabaga_gfx",
|
|
"serde",
|
|
"serde_json",
|
|
"sync",
|
|
"vm_memory",
|
|
]
|
|
|
|
[[package]]
|
|
name = "vm_memory"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"base",
|
|
"bitflags",
|
|
"cros_async",
|
|
"data_model",
|
|
"libc",
|
|
]
|
|
|
|
[[package]]
|
|
name = "vmm_vhost"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"bitflags",
|
|
"libc",
|
|
"sys_util",
|
|
"tempfile",
|
|
]
|
|
|
|
[[package]]
|
|
name = "wasi"
|
|
version = "0.9.0+wasi-snapshot-preview1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
|
|
|
|
[[package]]
|
|
name = "which"
|
|
version = "4.0.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "87c14ef7e1b8b8ecfc75d5eca37949410046e66f15d185c01d70824f1f8111ef"
|
|
dependencies = [
|
|
"libc",
|
|
"thiserror",
|
|
]
|
|
|
|
[[package]]
|
|
name = "winapi"
|
|
version = "0.3.9"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
|
dependencies = [
|
|
"winapi-i686-pc-windows-gnu",
|
|
"winapi-x86_64-pc-windows-gnu",
|
|
]
|
|
|
|
[[package]]
|
|
name = "winapi-i686-pc-windows-gnu"
|
|
version = "0.4.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
|
|
|
[[package]]
|
|
name = "winapi-x86_64-pc-windows-gnu"
|
|
version = "0.4.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
|
|
|
[[package]]
|
|
name = "wire_format_derive"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"proc-macro2",
|
|
"quote",
|
|
"syn",
|
|
]
|
|
|
|
[[package]]
|
|
name = "x86_64"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"acpi_tables",
|
|
"arch",
|
|
"assertions",
|
|
"base",
|
|
"data_model",
|
|
"devices",
|
|
"gdbstub_arch",
|
|
"hypervisor",
|
|
"kernel_cmdline",
|
|
"kernel_loader",
|
|
"libc",
|
|
"minijail",
|
|
"remain",
|
|
"resources",
|
|
"sync",
|
|
"vm_control",
|
|
"vm_memory",
|
|
]
|