pub struct SnapshotLoad {
pub snapshot_path: String,
pub mem_backend: MemBackend,
pub enable_diff_snapshots: bool,
pub resume_vm: bool,
}Expand description
PUT /snapshot/load
L2-06-2 checkout() path. Restores a Firecracker VMM from the paired
state + memory files written by SnapshotCreate. resume_vm=true
removes the need for a separate PATCH /vm Resumed after the load —
the VM is Running by the time this returns 204.
Firecracker accepts a deprecated mem_file_path field and a newer
mem_backend struct; we use the modern form (File backend) so the
supervisor doesn’t depend on a deprecation that may land in a future
VMM upgrade.
Fields§
§snapshot_path: String§mem_backend: MemBackend§enable_diff_snapshots: bool§resume_vm: boolTrait Implementations§
Source§impl Debug for SnapshotLoad
impl Debug for SnapshotLoad
Auto Trait Implementations§
impl Freeze for SnapshotLoad
impl RefUnwindSafe for SnapshotLoad
impl Send for SnapshotLoad
impl Sync for SnapshotLoad
impl Unpin for SnapshotLoad
impl UnsafeUnpin for SnapshotLoad
impl UnwindSafe for SnapshotLoad
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more