mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-02 09:55:21 +00:00
0361df4ae0
The Migratable trait groups all expected capabilities of devices and components that can be migrated. For a component to be migrated, it must be able to pause and resume. Once paused, it should be able to provide a snapshot of itself. It should also be able to restore itself from a snaphot. As a consequence, the Migratable trait will be split between the Pausable and the Snapshotable traits. This commit only adds the Pausable one. All migratable devices will be tracked from the DeviceManager. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>