Skip to main content

Module snapshot

Module snapshot 

Source
Expand description

Snapshot manifest types and I/O functions for saving/restoring VM snapshots.

Re-exports§

pub use publish::check_snapshot_destination;
pub use publish::write_snapshot;
pub use restore::read_snapshot;

Modules§

publish
Writing VM snapshots to a directory.
restore
Reading VM snapshots from a directory.

Structs§

SnapshotExpectations
Optional checks a caller can require a snapshot to pass on restore.
SnapshotManifest
Manifest describing a VM snapshot.

Constants§

MANIFEST_VERSION
Current manifest format version. Bump when making incompatible changes.

Functions§

validate_expectations
Validate that a snapshot manifest matches the caller’s expectations.
validate_manifest
Validate that a snapshot manifest is compatible with the running VM config.