mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-25 01:11:16 +00:00
This refactoring ensures all CPUID related operations are centralized in `arch::x86_64` module, and exposes only two related public functions to the vmm crate, e.g. `generate_common_cpuid` and `configure_vcpu`. Signed-off-by: Bo Chen <chen.bo@intel.com>
31 lines
898 B
TOML
31 lines
898 B
TOML
[package]
|
|
name = "arch"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
acpi = ["acpi_tables"]
|
|
tdx = []
|
|
|
|
[dependencies]
|
|
acpi_tables = { path = "../acpi_tables", optional = true }
|
|
anyhow = "1.0"
|
|
byteorder = "1.4.3"
|
|
hypervisor = { path = "../hypervisor" }
|
|
libc = "0.2.98"
|
|
linux-loader = { version = "0.3.0", features = ["elf", "bzimage", "pe"] }
|
|
log = "0.4.14"
|
|
serde = {version = ">=1.0.27", features = ["rc"] }
|
|
thiserror = "1.0"
|
|
versionize = "0.1.6"
|
|
versionize_derive = "0.1.4"
|
|
vm-memory = { version = "0.5.0", features = ["backend-mmap", "backend-bitmap"] }
|
|
vm-migration = { path = "../vm-migration" }
|
|
vmm-sys-util = { version = ">=0.5.0", features = ["with-serde"] }
|
|
|
|
[target.'cfg(target_arch = "aarch64")'.dependencies]
|
|
fdt_parser = { version = "0.1.3", package = 'fdt'}
|
|
vm-fdt = { git = "https://github.com/rust-vmm/vm-fdt", branch = "master" }
|