pub struct RawSnapshotLoadConfig {
pub snapshot_path: String,
pub mem_backend: Option<RawMemBackend>,
pub mem_file_path: Option<String>,
pub track_dirty_pages: bool,
pub resume_vm: bool,
pub clock_realtime: Option<u64>,
pub network_overrides: Option<Vec<Value>>,
pub vsock_override: Option<Value>,
}Expand description
Raw /snapshot/load PUT body off the wire.
Fields§
§snapshot_path: StringPath to the state file.
mem_backend: Option<RawMemBackend>Memory backend descriptor (post-1.5 upstream API).
mem_file_path: Option<String>Deprecated single-string memory file path (pre-1.5 upstream API; squib accepts for back-compat).
track_dirty_pages: boolWhether to track dirty pages after restore (for subsequent diff snapshots).
resume_vm: boolWhether to resume vCPUs immediately after restore.
clock_realtime: Option<u64>clock_realtime — x86-only field; squib accept-and-ignore (A row).
network_overrides: Option<Vec<Value>>Per-NIC overrides (passthrough).
vsock_override: Option<Value>Vsock override (passthrough).
Trait Implementations§
Source§impl Clone for RawSnapshotLoadConfig
impl Clone for RawSnapshotLoadConfig
Source§fn clone(&self) -> RawSnapshotLoadConfig
fn clone(&self) -> RawSnapshotLoadConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RawSnapshotLoadConfig
impl Debug for RawSnapshotLoadConfig
Source§impl<'de> Deserialize<'de> for RawSnapshotLoadConfig
impl<'de> Deserialize<'de> for RawSnapshotLoadConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RawSnapshotLoadConfig
impl RefUnwindSafe for RawSnapshotLoadConfig
impl Send for RawSnapshotLoadConfig
impl Sync for RawSnapshotLoadConfig
impl Unpin for RawSnapshotLoadConfig
impl UnsafeUnpin for RawSnapshotLoadConfig
impl UnwindSafe for RawSnapshotLoadConfig
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