Module metadata

Source
Expand description

Functionality for working with qcow2 metadata.

Structsยง

AtomicL2Entry ๐Ÿ”’
Internal actual type of L2 entries.
Header ๐Ÿ”’
Integrated header representation.
HeaderExtensionHeader ๐Ÿ”’
Header for a header extension.
L1Entry ๐Ÿ”’
L1 table entry.
L1Table ๐Ÿ”’
L1 table.
L2Entry ๐Ÿ”’
L2 table entry.
L2Table ๐Ÿ”’
L2 table.
L2TableWriteGuard ๐Ÿ”’
Write guard for an L2 table.
RefBlock ๐Ÿ”’
Refcount block.
RefBlockWriteGuard ๐Ÿ”’
Write guard for a refblock.
RefTable ๐Ÿ”’
Refcount table.
RefTableEntry ๐Ÿ”’
Refcount table entry.
V2Header ๐Ÿ”’
Qcow2 v2 header.
V3HeaderBase ๐Ÿ”’
Qcow2 v3 header.

Enumsยง

AutoclearFeatures ๐Ÿ”’
Autoclear feature bits.
CompatibleFeatures ๐Ÿ”’
Compatible feature bits.
FeatureType ๐Ÿ”’
Feature type ID for the feature name table.
HeaderExtension ๐Ÿ”’
Header extensions (high-level representation).
HeaderExtensionType ๐Ÿ”’
Extension type IDs.
IncompatibleFeatures ๐Ÿ”’
Incompatible feature bits.
L2Mapping ๐Ÿ”’
High-level representation of an L2 entry.

Constantsยง

MAGIC ๐Ÿ”’
Qcow header magic (โ€œQFI\xfbโ€).
MAX_CLUSTER_SIZE ๐Ÿ”’
Maximum cluster size.
MAX_FILE_LENGTH ๐Ÿ”’
Maximum file length.
MAX_OFFSET ๐Ÿ”’
Maximum permissible host offset.
MAX_REFCOUNT_WIDTH ๐Ÿ”’
Maximum number of bits per refcount entry.
MIN_CLUSTER_SIZE ๐Ÿ”’
Minimum cluster size.
MIN_REFCOUNT_WIDTH ๐Ÿ”’
Minimum number of bits per refcount entry.

Traitsยง

Table
Generic trait for qcow2 metadata tables (L1, L2, refcount table).
TableEntry
Generic trait for qcow2 table entries (L1, L2, refcount table).

Functionsยง

check_table ๐Ÿ”’
Check whether the given table offset/size is valid.