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