block: Add VMDK descriptor file parser for Flat createType

Adds parser for the Virtual Machine DisK descriptor
file. The parser supports 2 flat/pre-allocated create types,
monolithicFlat & twoGbMaxExtentFlat. The parser marks any other
type as unsupported.

The implementation references VMDK descriptor specification from
https://web.archive.org/web/20240527050638if_/https://www.vmware.com/app/vmdk/?src=vmdk

Signed-off-by: Sumedh Alok Sharma <sumsharma@microsoft.com>
This commit is contained in:
Sumedh Alok Sharma
2026-07-13 07:43:13 +00:00
committed by Wei Liu
parent dcea656a72
commit 7b24354020
3 changed files with 526 additions and 0 deletions

View File

@@ -11,3 +11,4 @@ pub mod qcow;
pub mod raw;
pub mod vhd;
pub mod vhdx;
pub mod vmdk;