Expand description
Pure-Rust read-only QCOW2 disk image reader.
Supports QCOW2 v2 and v3 (uncompressed, no backing file, no encryption). Uses a two-level L1→L2 cluster lookup matching QEMU’s own design.
Structs§
- Qcow2
Info - Forensically-relevant QCOW2 header facts, parsed leniently — unlike
[
Qcow2Header::parse], this does not reject backing files, encryption, or unsupported incompatible features, so an analyzer can inspect images the reader cannot decode. - Qcow2
Reader - Read-only QCOW2 container reader.
- Qcow2
Refcount Report - Summary of the refcount metadata and the orphan scan.
- Qcow2
Snapshot - One internal snapshot recorded in a QCOW2 image.
Enums§
Functions§
- inspect
- Inspect a QCOW2 image’s header for forensic facts (version, backing file, encryption, snapshots, incompatible-feature bits) without decoding it — works on images the reader rejects (encrypted, backing-file, etc.).
- refcount_
report - Best-effort refcount/orphan report for the QCOW2 image at
path. - snapshots
- Enumerate the internal snapshots in the QCOW2 image at
path.