]> Git Repo - qemu.git/commit
qcow2: Write v3-compliant snapshot list on upgrade
authorMax Reitz <[email protected]>
Fri, 11 Oct 2019 15:28:05 +0000 (17:28 +0200)
committerMax Reitz <[email protected]>
Mon, 28 Oct 2019 10:53:52 +0000 (11:53 +0100)
commit0a85af351d90e1ae9e06b3bb5290ddf2d5d8b950
tree9ac39111d54c62ab5c7f54a2779d1d733a24668e
parent722efb0c7c6ae62a9a34d7b256cb9cc8612bda5b
qcow2: Write v3-compliant snapshot list on upgrade

qcow2 v3 requires every snapshot table entry to have two extra data
fields: The 64-bit VM state size, and the virtual disk size.  Both are
optional for v2 images, so they may not be present.

qcow2_upgrade() therefore should update the snapshot table to ensure all
entries have these extra data fields.

Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1727347
Reported-by: Eric Blake <[email protected]>
Signed-off-by: Max Reitz <[email protected]>
Reviewed-by: Eric Blake <[email protected]>
Message-id: 20191011152814[email protected]
Signed-off-by: Max Reitz <[email protected]>
block/qcow2.c
This page took 0.025427 seconds and 4 git commands to generate.