mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-11 23:27:40 +00:00
1b1a2175ca
A Snapshottable component can snapshot itself and provide a MigrationSnapshot payload as a result. A MigrationSnapshot payload is a map of component IDs to a list of migration sections (MigrationSection). As component can be made of several Migratable sub-components (e.g. the DeviceManager and its device objects), a migration snapshot can be made of multiple snapshot itself. A snapshot is a list of migration sections, each section being a component state snapshot. Having multiple sections allows for easier and backward compatible migration payload extensions. Once created, a migratable component snapshot may be transported and this is what the Transportable trait defines, through 2 methods: send and recv. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Yi Sun <yi.y.sun@linux.intel.com>
48 lines
1.4 KiB
TOML
48 lines
1.4 KiB
TOML
[package]
|
|
name = "vmm"
|
|
version = "0.1.0"
|
|
authors = ["The Cloud Hypervisor Authors"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
acpi = ["acpi_tables","devices/acpi"]
|
|
pci_support = ["pci", "vfio", "vm-virtio/pci_support"]
|
|
mmio_support = ["vm-virtio/mmio_support"]
|
|
cmos = ["devices/cmos"]
|
|
|
|
[dependencies]
|
|
arc-swap = ">=0.4.4"
|
|
clap = "2.33.0"
|
|
acpi_tables = { path = "../acpi_tables", optional = true }
|
|
anyhow = "1.0"
|
|
arch = { path = "../arch" }
|
|
devices = { path = "../devices" }
|
|
epoll = ">=4.0.1"
|
|
kvm-bindings = "0.2.0"
|
|
kvm-ioctls = "0.5.0"
|
|
lazy_static = "1.4.0"
|
|
libc = "0.2.68"
|
|
log = "0.4.8"
|
|
micro_http = { git = "https://github.com/firecracker-microvm/micro-http", branch = "master" }
|
|
net_util = { path = "../net_util" }
|
|
pci = {path = "../pci", optional = true}
|
|
qcow = { path = "../qcow" }
|
|
seccomp = { git = "https://github.com/firecracker-microvm/firecracker", tag = "v0.21.1" }
|
|
serde = {version = ">=1.0.27", features = ["rc"] }
|
|
serde_derive = ">=1.0.27"
|
|
serde_json = ">=1.0.9"
|
|
vfio = { path = "../vfio", optional = true }
|
|
vm-allocator = { path = "../vm-allocator" }
|
|
vm-device = { path = "../vm-device" }
|
|
vm-memory = { version = "0.2.0", features = ["backend-mmap", "backend-atomic"] }
|
|
vm-migration = { path = "../vm-migration" }
|
|
vm-virtio = { path = "../vm-virtio" }
|
|
vmm-sys-util = ">=0.3.1"
|
|
signal-hook = "0.1.13"
|
|
tempfile = "3.1.0"
|
|
|
|
[dependencies.linux-loader]
|
|
git = "https://github.com/rust-vmm/linux-loader"
|
|
features = ["elf", "bzimage"]
|