mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-23 16:31:16 +00:00
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>
30 lines
964 B
TOML
30 lines
964 B
TOML
[package]
|
|
name = "vm-virtio"
|
|
version = "0.1.0"
|
|
authors = ["Samuel Ortiz <sameo@linux.intel.com>"]
|
|
edition = "2018"
|
|
|
|
[features]
|
|
default = []
|
|
pci_support = ["pci"]
|
|
mmio_support = []
|
|
|
|
[dependencies]
|
|
arc-swap = ">=0.4.4"
|
|
byteorder = "1.3.4"
|
|
devices = { path = "../devices" }
|
|
epoll = ">=4.0.1"
|
|
libc = "0.2.68"
|
|
log = "0.4.8"
|
|
net_gen = { path = "../net_gen" }
|
|
net_util = { path = "../net_util" }
|
|
pci = { path = "../pci", optional = true }
|
|
tempfile = "3.1.0"
|
|
virtio-bindings = { git = "https://github.com/rust-vmm/virtio-bindings", version = "0.1", features = ["virtio-v5_0_0"]}
|
|
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" }
|
|
vmm-sys-util = ">=0.3.1"
|
|
vhost_rs = { git = "https://github.com/cloud-hypervisor/vhost", branch = "dragonball", package = "vhost", features = ["vhost-user-master", "vhost-user-slave"] }
|