pub struct SnapshotFiles {
pub disk: PathBuf,
pub efivars: PathBuf,
pub seed_iso: PathBuf,
pub ssh_key: PathBuf,
pub memory_mb: u32,
}Expand description
Files needed for QEMU snapshot restore.
Fields§
§disk: PathBufqcow2 disk with the “ready” snapshot saved inside.
efivars: PathBufqcow2 EFI vars with snapshot state (QEMU splits snapshots across drives).
seed_iso: PathBufcloud-init seed ISO (must be present for device topology match, but is not re-processed — cloud-init already ran in the snapshot).
ssh_key: PathBufSSH private key baked into the snapshot via cloud-init.
memory_mb: u32RAM size (MB) the snapshot was created with. VMs must use the same size.
Auto Trait Implementations§
impl Freeze for SnapshotFiles
impl RefUnwindSafe for SnapshotFiles
impl Send for SnapshotFiles
impl Sync for SnapshotFiles
impl Unpin for SnapshotFiles
impl UnsafeUnpin for SnapshotFiles
impl UnwindSafe for SnapshotFiles
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