mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
vmm: Provide an owned Snapshot rather than a reference
Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
+1
-1
@@ -1264,7 +1264,7 @@ impl Vmm {
|
||||
None,
|
||||
None,
|
||||
None,
|
||||
Some(&snapshot),
|
||||
Some(snapshot),
|
||||
)
|
||||
.map_err(|e| {
|
||||
MigratableError::MigrateReceive(anyhow!("Error creating VM from snapshot: {:?}", e))
|
||||
|
||||
Reference in New Issue
Block a user