pub struct VmStatePatch {
pub state: VmState,
}Expand description
PATCH /vm
L2-06 warm pool: between InstanceStart and PUT /snapshot/create we
transition the VM to Paused. Firecracker refuses to snapshot a Running
VM (vCPU memory writes would race with the snapshot mmap). After
snapshotting, we kill the original VMM — the on-disk snapshot is the
durable artifact.
Fields§
§state: VmStateTrait Implementations§
Source§impl Debug for VmStatePatch
impl Debug for VmStatePatch
Auto Trait Implementations§
impl Freeze for VmStatePatch
impl RefUnwindSafe for VmStatePatch
impl Send for VmStatePatch
impl Sync for VmStatePatch
impl Unpin for VmStatePatch
impl UnsafeUnpin for VmStatePatch
impl UnwindSafe for VmStatePatch
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