cloud-hypervisor/vm-virtio/src/vhost_user
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
..
blk.rs vm-migration: Define the Snapshottable and Transportable traits 2020-04-02 13:24:25 +01:00
fs.rs vm-migration: Define the Snapshottable and Transportable traits 2020-04-02 13:24:25 +01:00
handler.rs vm-virtio: Consume pause events to prevent infinite epoll_wait calls 2020-03-09 19:01:38 +01:00
mod.rs vhost-user-blk: Device support multiple queues 2020-02-03 09:49:27 +01:00
net.rs vm-migration: Define the Snapshottable and Transportable traits 2020-04-02 13:24:25 +01:00
vu_common_ctrl.rs vm-virtio: vhost-user: Factorize SET_MEM_TABLE setup 2020-03-24 19:01:15 +00:00