diff --git a/vmm/src/lib.rs b/vmm/src/lib.rs index f9d81fbd2..f86aadfbc 100644 --- a/vmm/src/lib.rs +++ b/vmm/src/lib.rs @@ -3071,6 +3071,9 @@ impl RequestHandler for Vmm { event!("vm", "migration-receive-failed"); self.vm = VmOwnership::None; self.vm_config = None; + return Err(MigratableError::CompleteMigration(anyhow!( + "Migration was aborted" + ))); } ReceiveMigrationState::Completed => { // Serving and resume already happened in the protocol loop.