cloud-hypervisor/vm-virtio/src/transport
Samuel Ortiz 1b1a2175ca vm-migration: Define the Snapshottable and Transportable traits
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>
2020-04-02 13:24:25 +01:00
..
mmio.rs vm-migration: Define the Snapshottable and Transportable traits 2020-04-02 13:24:25 +01:00
mod.rs vm-virtio: Create new VirtioTransport trait to abstract ioeventfds 2019-10-31 09:30:59 +01:00
pci_common_config.rs vmm: Move codebase to GuestMemoryAtomic from vm-memory 2020-02-19 13:48:19 +00:00
pci_device.rs vm-migration: Define the Snapshottable and Transportable traits 2020-04-02 13:24:25 +01:00