Parse the feature name table header extension to provide descriptive error messages when unsupported incompatible features are detected. Currently only the compression bit (bit 3, zstd) is supported. This prevents opening qcow2 images with features that would cause incorrect behavior or data corruption (e.g., dirty bit, corrupt bit, external data file, extended L2 entries). Feature names are defined as follows: 1. The image's feature name table header extension (if present) 2. Hardcoded fallback names for known features 3. Generic "unknown feature bit N" for undefined features Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com> Co-developed-by: Philipp Schuster <philipp.schuster@cyberus-technology.de> |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||