Expand description
Pure-Rust read-only legacy VHD disk image reader.
Implements the MS-VHD specification (Virtual PC / Virtual Server / Hyper-V Generation-1 format). Supports Fixed and Dynamic disk types. Differencing disks are rejected (parent locator resolution is out of scope).
§Format overview
Every VHD ends with a 512-byte footer (cookie = "conectix").
- Fixed: the footer immediately follows the raw sector data.
- Dynamic: footer → dynamic header → Block Allocation Table (BAT) → data blocks, with a copy of the footer at byte 0.
Structs§
- VhdFooter
- Parsed VHD footer fields relevant to container reading.
- VhdReader
- Read-only VHD container reader.