cloud-hypervisor/vm-virtio/src
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
..
transport vm-migration: Define the Snapshottable and Transportable traits 2020-04-02 13:24:25 +01:00
vhost_user vm-migration: Define the Snapshottable and Transportable traits 2020-04-02 13:24:25 +01:00
vsock vm-migration: Define the Snapshottable and Transportable traits 2020-04-02 13:24:25 +01:00
block.rs vm-migration: Define the Snapshottable and Transportable traits 2020-04-02 13:24:25 +01:00
console.rs vm-migration: Define the Snapshottable and Transportable traits 2020-04-02 13:24:25 +01:00
device.rs vm-virtio: Add update_memory() to VirtioDevice trait 2020-03-24 19:01:15 +00:00
iommu.rs vm-migration: Define the Snapshottable and Transportable traits 2020-04-02 13:24:25 +01:00
lib.rs vm-virtio: Add virtio-mem device 2020-03-25 15:54:16 +01:00
mem.rs vm-migration: Define the Snapshottable and Transportable traits 2020-04-02 13:24:25 +01:00
net_util.rs vm-virtio: Consume pause events to prevent infinite epoll_wait calls 2020-03-09 19:01:38 +01:00
net.rs vm-migration: Define the Snapshottable and Transportable traits 2020-04-02 13:24:25 +01:00
pmem.rs vm-migration: Define the Snapshottable and Transportable traits 2020-04-02 13:24:25 +01:00
queue.rs vm-virtio: queue: Use a SeqCst fence on get_used_event 2020-03-18 13:36:17 +00:00
rng.rs vm-migration: Define the Snapshottable and Transportable traits 2020-04-02 13:24:25 +01:00