mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-12-24 11:58:41 +00:00
3a8100adc7
Basic 2D and 3D support is there. The drm_cursor_test and null_platform_test in drm-tests should run to completion. The extra device is hidden behind both a build time feature called 'gpu' and the device is only added to a VM if the '--gpu' flag is given. TEST=build with --features=gpu; drm_cursor_test && null_platform_test BUG=chromium:837073 Change-Id: Ic91acaaebbee395599d7e1ba41c24c9ed2d84169 Reviewed-on: https://chromium-review.googlesource.com/1036862 Commit-Ready: Zach Reizner <zachr@chromium.org> Tested-by: Zach Reizner <zachr@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org>
433 lines
12 KiB
TOML
433 lines
12 KiB
TOML
[[package]]
|
|
name = "aarch64"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"arch 0.1.0",
|
|
"byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"data_model 0.1.0",
|
|
"devices 0.1.0",
|
|
"kernel_cmdline 0.1.0",
|
|
"kvm 0.1.0",
|
|
"kvm_sys 0.1.0",
|
|
"libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"resources 0.1.0",
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "arch"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"devices 0.1.0",
|
|
"kernel_cmdline 0.1.0",
|
|
"kvm 0.1.0",
|
|
"libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"resources 0.1.0",
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "bitflags"
|
|
version = "1.0.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
[[package]]
|
|
name = "byteorder"
|
|
version = "1.1.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
[[package]]
|
|
name = "cc"
|
|
version = "1.0.15"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
[[package]]
|
|
name = "cfg-if"
|
|
version = "0.1.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
[[package]]
|
|
name = "crosvm"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"aarch64 0.1.0",
|
|
"arch 0.1.0",
|
|
"byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"crosvm_plugin 0.15.0",
|
|
"data_model 0.1.0",
|
|
"devices 0.1.0",
|
|
"gpu_buffer 0.1.0",
|
|
"io_jail 0.1.0",
|
|
"kernel_cmdline 0.1.0",
|
|
"kernel_loader 0.1.0",
|
|
"kvm 0.1.0",
|
|
"kvm_sys 0.1.0",
|
|
"libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"net_util 0.1.0",
|
|
"p9 0.1.0",
|
|
"plugin_proto 0.15.0",
|
|
"protobuf 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"qcow 0.1.0",
|
|
"qcow_utils 0.1.0",
|
|
"rand 0.3.20 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"resources 0.1.0",
|
|
"sys_util 0.1.0",
|
|
"vhost 0.1.0",
|
|
"vm_control 0.1.0",
|
|
"x86_64 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "crosvm_plugin"
|
|
version = "0.15.0"
|
|
dependencies = [
|
|
"kvm 0.1.0",
|
|
"kvm_sys 0.1.0",
|
|
"libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"plugin_proto 0.15.0",
|
|
"protobuf 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"sys_util 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",
|
|
"gpu_buffer 0.1.0",
|
|
"gpu_display 0.1.0",
|
|
"gpu_renderer 0.1.0",
|
|
"io_jail 0.1.0",
|
|
"libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"net_sys 0.1.0",
|
|
"net_util 0.1.0",
|
|
"resources 0.1.0",
|
|
"sys_util 0.1.0",
|
|
"vhost 0.1.0",
|
|
"virtio_sys 0.1.0",
|
|
"vm_control 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "fuchsia-zircon"
|
|
version = "0.3.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
dependencies = [
|
|
"bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
]
|
|
|
|
[[package]]
|
|
name = "fuchsia-zircon-sys"
|
|
version = "0.3.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
[[package]]
|
|
name = "gpu_buffer"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"data_model 0.1.0",
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "gpu_display"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"cc 1.0.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"data_model 0.1.0",
|
|
"libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "gpu_renderer"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"data_model 0.1.0",
|
|
"libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "io_jail"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
]
|
|
|
|
[[package]]
|
|
name = "kernel_cmdline"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
]
|
|
|
|
[[package]]
|
|
name = "kernel_loader"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"libc 0.2.40 (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.40 (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.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "libc"
|
|
version = "0.2.40"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
[[package]]
|
|
name = "log"
|
|
version = "0.4.1"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
dependencies = [
|
|
"cfg-if 0.1.2 (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.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"net_sys 0.1.0",
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "p9"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"wire_format_derive 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "plugin_proto"
|
|
version = "0.15.0"
|
|
dependencies = [
|
|
"cc 1.0.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"kvm_sys 0.1.0",
|
|
"protobuf 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"protoc-rust 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
]
|
|
|
|
[[package]]
|
|
name = "poll_token_derive"
|
|
version = "0.1.0"
|
|
|
|
[[package]]
|
|
name = "proc-macro2"
|
|
version = "0.2.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
dependencies = [
|
|
"unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
]
|
|
|
|
[[package]]
|
|
name = "protobuf"
|
|
version = "1.4.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
[[package]]
|
|
name = "protoc"
|
|
version = "1.4.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
dependencies = [
|
|
"log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
]
|
|
|
|
[[package]]
|
|
name = "protoc-rust"
|
|
version = "1.4.3"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
dependencies = [
|
|
"protobuf 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"protoc 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"tempdir 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
]
|
|
|
|
[[package]]
|
|
name = "qcow"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "qcow_utils"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"qcow 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "quote"
|
|
version = "0.4.2"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
dependencies = [
|
|
"proc-macro2 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
]
|
|
|
|
[[package]]
|
|
name = "rand"
|
|
version = "0.3.20"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
dependencies = [
|
|
"fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
]
|
|
|
|
[[package]]
|
|
name = "resources"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"data_model 0.1.0",
|
|
"gpu_buffer 0.1.0",
|
|
"libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "syn"
|
|
version = "0.12.15"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
dependencies = [
|
|
"proc-macro2 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"quote 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
]
|
|
|
|
[[package]]
|
|
name = "sys_util"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"cc 1.0.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"data_model 0.1.0",
|
|
"libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"poll_token_derive 0.1.0",
|
|
"syscall_defines 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "syscall_defines"
|
|
version = "0.1.0"
|
|
|
|
[[package]]
|
|
name = "tempdir"
|
|
version = "0.3.5"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
dependencies = [
|
|
"rand 0.3.20 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
]
|
|
|
|
[[package]]
|
|
name = "unicode-xid"
|
|
version = "0.1.0"
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
[[package]]
|
|
name = "vhost"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"libc 0.2.40 (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.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"resources 0.1.0",
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[[package]]
|
|
name = "wire_format_derive"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"proc-macro2 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"quote 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"syn 0.12.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
]
|
|
|
|
[[package]]
|
|
name = "x86_64"
|
|
version = "0.1.0"
|
|
dependencies = [
|
|
"arch 0.1.0",
|
|
"byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"cc 1.0.15 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"data_model 0.1.0",
|
|
"devices 0.1.0",
|
|
"kernel_cmdline 0.1.0",
|
|
"kernel_loader 0.1.0",
|
|
"kvm 0.1.0",
|
|
"kvm_sys 0.1.0",
|
|
"libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)",
|
|
"resources 0.1.0",
|
|
"sys_util 0.1.0",
|
|
]
|
|
|
|
[metadata]
|
|
"checksum bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b3c30d3802dfb7281680d6285f2ccdaa8c2d8fee41f93805dba5c4cf50dc23cf"
|
|
"checksum byteorder 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ff81738b726f5d099632ceaffe7fb65b90212e8dce59d518729e7e8634032d3d"
|
|
"checksum cc 1.0.15 (registry+https://github.com/rust-lang/crates.io-index)" = "0ebb87d1116151416c0cf66a0e3fb6430cccd120fd6300794b4dfaa050ac40ba"
|
|
"checksum cfg-if 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d4c819a1287eb618df47cc647173c5c4c66ba19d888a6e50d605672aed3140de"
|
|
"checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82"
|
|
"checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
|
|
"checksum libc 0.2.40 (registry+https://github.com/rust-lang/crates.io-index)" = "6fd41f331ac7c5b8ac259b8bf82c75c0fb2e469bbf37d2becbba9a6a2221965b"
|
|
"checksum log 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "89f010e843f2b1a31dbd316b3b8d443758bc634bed37aabade59c686d644e0a2"
|
|
"checksum proc-macro2 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "cd07deb3c6d1d9ff827999c7f9b04cdfd66b1b17ae508e14fe47b620f2282ae0"
|
|
"checksum protobuf 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "bec26e67194b7d991908145fdf21b7cae8b08423d96dcb9e860cd31f854b9506"
|
|
"checksum protoc 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "5379c34ea2f9c69b99e6f25f6d0e6619876195ae7a3dcaf69f66bdb6c2e4dceb"
|
|
"checksum protoc-rust 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e211a7f56b2d020a59d483f652cfdfa6fd42e37bf544c0231e373807aa316c45"
|
|
"checksum quote 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1eca14c727ad12702eb4b6bfb5a232287dcf8385cb8ca83a3eeaf6519c44c408"
|
|
"checksum rand 0.3.20 (registry+https://github.com/rust-lang/crates.io-index)" = "512870020642bb8c221bf68baa1b2573da814f6ccfe5c9699b1c303047abe9b1"
|
|
"checksum syn 0.12.15 (registry+https://github.com/rust-lang/crates.io-index)" = "c97c05b8ebc34ddd6b967994d5c6e9852fa92f8b82b3858c39451f97346dcce5"
|
|
"checksum tempdir 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "87974a6f5c1dfb344d733055601650059a3363de2a6104819293baff662132d6"
|
|
"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
|