mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
virtio-devices, vm-migration: Update MigratableError types
Make sure the error types match the function from the Migratable trait. Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
@@ -49,13 +49,13 @@ pub enum MigratableError {
|
||||
MigrateSocket(#[source] std::io::Error),
|
||||
|
||||
#[error("Failed to start migration for migratable component: {0}")]
|
||||
MigrateStart(#[source] anyhow::Error),
|
||||
StartDirtyLog(#[source] anyhow::Error),
|
||||
|
||||
#[error("Failed to stop migration for migratable component: {0}")]
|
||||
MigrateStop(#[source] anyhow::Error),
|
||||
StopDirtyLog(#[source] anyhow::Error),
|
||||
|
||||
#[error("Failed to retrieve dirty ranges for migratable component: {0}")]
|
||||
MigrateDirtyRanges(#[source] anyhow::Error),
|
||||
DirtyLog(#[source] anyhow::Error),
|
||||
}
|
||||
|
||||
/// A Pausable component can be paused and resumed.
|
||||
|
||||
Reference in New Issue
Block a user