mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-22 07:51:16 +00:00
This device emulates a tpm device in cloud-hypervisor. Read and write support to miminal set of control registers is supported. Non-control commands will be processed as reads and write to CRB_DATA_BUFFER. Reads and Writes to this data buffer are forwarded to swtpm via the configured data_fd. Signed-off-by: Praveen K Paladugu <prapal@linux.microsoft.com> Co-authored-by: Sean Yoo <t-seanyoo@microsoft.com>
31 lines
694 B
TOML
31 lines
694 B
TOML
[package]
|
|
name = "devices"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
acpi_tables = { path = "../acpi_tables" }
|
|
anyhow = "1.0.66"
|
|
arch = { path = "../arch" }
|
|
bitflags = "1.3.2"
|
|
byteorder = "1.4.3"
|
|
hypervisor = { path = "../hypervisor" }
|
|
libc = "0.2.137"
|
|
log = "0.4.17"
|
|
phf = { version = "0.11", features = ["macros"] }
|
|
thiserror = "1.0.30"
|
|
tpm = { path = "../tpm" }
|
|
versionize = "0.1.6"
|
|
versionize_derive = "0.1.4"
|
|
vm-device = { path = "../vm-device" }
|
|
vm-memory = "0.9.0"
|
|
vm-migration = { path = "../vm-migration" }
|
|
vmm-sys-util = "0.10.0"
|
|
|
|
[target.'cfg(target_arch = "aarch64")'.dependencies]
|
|
arch = { path = "../arch" }
|
|
|
|
[features]
|
|
default = []
|