mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-21 07:21:15 +00:00
virtio-mem device would use 'VIRTIO_MEM_F_ACPI_PXM' to add memory to NUMA node, which MUST be existed, otherwise it will be assigned to node id 0, even if user specify different node id. According ACPI spec about Memory Affinity Structure, system hardware supports hot-add memory region using 'Hot Pluggable | Enabled' flags. Signed-off-by: Jiangbo Wu <jiangbo.wu@intel.com>
59 lines
1.8 KiB
TOML
59 lines
1.8 KiB
TOML
[package]
|
|
name = "vmm"
|
|
version = "0.1.0"
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
acpi = ["acpi_tables","devices/acpi", "arch/acpi"]
|
|
pci_support = ["pci", "vfio-ioctls", "virtio-devices/pci_support"]
|
|
mmio_support = ["virtio-devices/mmio_support"]
|
|
cmos = ["devices/cmos"]
|
|
fwdebug = ["devices/fwdebug"]
|
|
kvm = ["hypervisor/kvm"]
|
|
io_uring = ["virtio-devices/io_uring"]
|
|
|
|
[dependencies]
|
|
arc-swap = ">=0.4.4"
|
|
bitflags = ">=1.2.1"
|
|
clap = "2.33.3"
|
|
acpi_tables = { path = "../acpi_tables", optional = true }
|
|
anyhow = "1.0"
|
|
arch = { path = "../arch" }
|
|
block_util = { path = "../block_util" }
|
|
devices = { path = "../devices" }
|
|
epoll = ">=4.0.1"
|
|
hypervisor = { path = "../hypervisor" }
|
|
lazy_static = "1.4.0"
|
|
libc = "0.2.77"
|
|
log = "0.4.11"
|
|
micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "master" }
|
|
net_util = { path = "../net_util" }
|
|
option_parser = { path = "../option_parser" }
|
|
pci = {path = "../pci", optional = true}
|
|
qcow = { path = "../qcow" }
|
|
seccomp = { git = "https://github.com/firecracker-microvm/firecracker", tag = "v0.22.0" }
|
|
serde = {version = ">=1.0.27", features = ["rc"] }
|
|
serde_derive = ">=1.0.27"
|
|
serde_json = ">=1.0.9"
|
|
url = "2.1.1"
|
|
vfio-ioctls = { git = "https://github.com/cloud-hypervisor/vfio-ioctls", branch = "ch", optional = true }
|
|
virtio-devices = {path = "../virtio-devices"}
|
|
vm-allocator = { path = "../vm-allocator" }
|
|
vm-device = { path = "../vm-device" }
|
|
vm-memory = { version = "0.2.1", features = ["backend-mmap", "backend-atomic"] }
|
|
vm-migration = { path = "../vm-migration" }
|
|
vm-virtio = { path = "../vm-virtio" }
|
|
vmm-sys-util = { version = ">=0.5.0", features = ["with-serde"] }
|
|
signal-hook = "0.1.16"
|
|
tempfile = "3.1.0"
|
|
|
|
|
|
[dependencies.linux-loader]
|
|
git = "https://github.com/rust-vmm/linux-loader"
|
|
features = ["elf", "bzimage", "pe"]
|
|
|
|
[dev-dependencies]
|
|
credibility = "0.1.3"
|