Skip to content

qcow2: Rework header updates

Kevin Wolf qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2qcow2: Update whole header at onceblock/qcow2.c block/qcow2.h+95 -600 replies
2/2qcow2: Keep unknown header extension when rewriting headerblock/qcow2.c block/qcow2.h+50 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] qcow2: Rework header updates

This series does not only fix the chance of breaking images with a crash in the middle of a backing file link update, but also fixes header updates in images with unknown header extensions. It provides functions to update the whole header instead of only the header extensions.

These fixes and improvements are a prerequisite for any qcow3 code.

Kevin Wolf (2):
qcow2: Update whole header at once
qcow2: Keep unknown header extension when rewriting header

 block/qcow2.c |  194 +++++++++++++++++++++++++++++++++++++++------------------
 block/qcow2.h |    9 +++
 2 files changed, 143 insertions(+), 60 deletions(-)
Signature · 1 line
1.7.6.5