mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-11-05 11:31:14 +00:00
58d8206e2b
Instead of creating a MemoryManager from scratch, let's reuse the same code path used by snapshot/restore, so that memory regions are created identically to what they were on the source VM. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
32 lines
926 B
TOML
32 lines
926 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.44"
|
|
byteorder = "1.4.3"
|
|
hypervisor = { path = "../hypervisor" }
|
|
libc = "0.2.103"
|
|
linux-loader = { version = "0.4.0", features = ["elf", "bzimage", "pe"] }
|
|
log = "0.4.14"
|
|
serde = { version = "1.0.130", features = ["rc"] }
|
|
serde_derive = "1.0.130"
|
|
thiserror = "1.0.29"
|
|
versionize = "0.1.6"
|
|
versionize_derive = "0.1.4"
|
|
vm-memory = { version = "0.6.0", features = ["backend-mmap", "backend-bitmap"] }
|
|
vm-migration = { path = "../vm-migration" }
|
|
vmm-sys-util = { version = "0.9.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 = "main" }
|