Struct qcow::Snapshot [−][src]
pub struct Snapshot {
pub l1_table: Vec<L1Entry>,
pub time: SnapshotTime,
pub guest_runtime: u64,
pub vm_state_size: u32,
pub extra_data: SnapshotExtraData,
pub unique_id: String,
pub name: String,
}
Expand description
An entry in the snapshot table representing the system state at a moment in time
Fields
l1_table: Vec<L1Entry>
Table of L1 entries in the screenshot
time: SnapshotTime
Time at which the snapshot was taken since the Epoch
guest_runtime: u64
Time that the guest was running until the snapshot was taken in nanoseconds
vm_state_size: u32
Size of the VM state in bytes. 0 if no VM state is saved.
If there is VM state, it starts at the first cluster described by first L1 table entry that doesn’t describe a regular guest cluster (i.e. VM state is stored like guest disk content, except that it is stored at offsets that are larger than the virtual disk presented to the guest)
extra_data: SnapshotExtraData
Optional extra snapshot data that comes from format updates
unique_id: String
A unique identifier for the snapshot (example value: “1”)
name: String
Name of the snapshot
Trait Implementations
The type of arguments needed to be supplied in order to read this type, usually a tuple. Read more
fn read_options<R: Read + Seek>(
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: Self::Args
) -> BinResult<Self>
fn read_options<R: Read + Seek>(
__binread_generated_var_reader: &mut R,
__binread_generated_var_options: &ReadOptions,
__binread_generated_var_arguments: Self::Args
) -> BinResult<Self>
Read the type from the reader
Read the type from the reader while assuming no arguments have been passed Read more
Read the type from the reader using the specified arguments