All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] block/vmdk: fixes for stream optimized disks
@ 2026-10-16 12:37 Sanne Raymaekers
  2026-10-16 12:37 ` [PATCH v3 1/3] block/vmdk: align stream optimized data grains on 512 byte chunks Sanne Raymaekers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sanne Raymaekers @ 2026-10-16 12:37 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-block, fam, kwolf, hreitz, Sanne Raymaekers

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(-)

-- 
2.55.0



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-16 12:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-16 12:37 [PATCH v3 0/3] block/vmdk: fixes for stream optimized disks Sanne Raymaekers
2026-10-16 12:37 ` [PATCH v3 1/3] block/vmdk: align stream optimized data grains on 512 byte chunks Sanne Raymaekers
2026-10-16 12:37 ` [PATCH v3 2/3] block/vmdk: skip RGD for stream optimized disks Sanne Raymaekers
2026-10-16 12:37 ` [PATCH v3 3/3] block/vmdk: add eos marker " Sanne Raymaekers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.