mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-12 15:42:57 +00:00
b9ba81c30d
Use the ACPI feature to control whether to build the mptable. This is necessary as the mptable and ACPI RSDP table can easily overwrite each other leading to it failing to boot. TEST=Compile with default features and see that --cpus boot=48 now works, try with --no-default-features --features "pci" and observe the --cpus boot=48 also continues to work. Fixes: #1132 Signed-off-by: Rob Bradford <robert.bradford@intel.com>
26 lines
660 B
TOML
26 lines
660 B
TOML
[package]
|
|
name = "arch"
|
|
version = "0.1.0"
|
|
authors = ["The Chromium OS Authors"]
|
|
|
|
[features]
|
|
default = []
|
|
acpi = ["acpi_tables"]
|
|
|
|
[dependencies]
|
|
byteorder = "1.3.4"
|
|
kvm-bindings = { git = "https://github.com/cloud-hypervisor/kvm-bindings", branch = "ch" }
|
|
kvm-ioctls = { git = "https://github.com/cloud-hypervisor/kvm-ioctls", branch = "ch" }
|
|
libc = "0.2.69"
|
|
vm-memory = { version = "0.2.0", features = ["backend-mmap"] }
|
|
|
|
acpi_tables = { path = "../acpi_tables", optional = true }
|
|
arch_gen = { path = "../arch_gen" }
|
|
|
|
[dependencies.linux-loader]
|
|
git = "https://github.com/rust-vmm/linux-loader"
|
|
features = ["elf", "bzimage"]
|
|
|
|
[dev-dependencies]
|
|
rand = "0.7.3"
|