block/vmdk: fixes for stream optimized disks
Status from this message: Thanks, applied to the block branch (and meanwhile merged into master as
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 1 replyApplied
- v23 patches 0 repliesSuperseded
- v13 patches 4 repliesSuperseded
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | block/vmdk: align stream optimized data grains on 512 byte chunksblock/ | +18 | 0 replies | |
| 2/3 | block/vmdk: skip RGD for stream optimized disksblock/ | +30 | 0 replies | |
| 3/3 | block/vmdk: add eos marker for stream optimized disksblock/ | +28 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/3] block/vmdk: fixes for stream optimized disks
The stream optimized disks produced by qemu-img did not quite adhere to the specification. This could trip up other software consuming these disks. The goal of these patches is to get the VMDKs produced by QEMU to better match the specification, the Virtual Disk Format 5.0 Technical Note.
For instance, when packaging the VMDK up in an OVA archive (a ustar archive containing an OVF, a manifest and a VMDK), errors occur when importing that OVA into VMWare Workstation. Specifically the digest in the manifest does not match the digest of the VMDK, because Workstation reads (and parses) the disk contents and then makes a digest, rather than making a digest of the whole VMDK file. Extra null bytes at the very end will trip it up, as they are ignored in the digest made by Workstation, but are included in the digest produced by something like shasum.
Note that stream optimized disks, while not adhering to the specification fully, are still useable by VMWare tooling, with some workarounds where needed. For instance, VSphere does not have the same issue as Workstation.
V3 cleans up some formatting and makes the commit messages clearer.
Sanne Raymaekers (3):
block/vmdk: align stream optimized data grains on 512 byte chunks block/vmdk: skip RGD for stream optimized disks block/vmdk: add eos marker for stream optimized disks
block/vmdk.c | 121 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 76 insertions(+), 45 deletions(-)
Signature · 1 line
2.55.0