]> git.proxmox.com Git - mirror_qemu.git/commit
qcow2: Make qcow2_write_snapshots() public
authorMax Reitz <mreitz@redhat.com>
Fri, 11 Oct 2019 15:28:03 +0000 (17:28 +0200)
committerMax Reitz <mreitz@redhat.com>
Mon, 28 Oct 2019 10:53:17 +0000 (11:53 +0100)
commite0314b56b238ac4f0b74498b7afb016ee85023a6
tree6037b96600b8a3350af432a429008952d579e989
parentfcf9a6b7288154677f6ee9c5f345c4275170e97d
qcow2: Make qcow2_write_snapshots() public

Updating the snapshot list will be useful when upgrading a v2 image to
v3, so we will need to call this function in qcow2.c.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20191011152814.14791-6-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/qcow2-snapshot.c
block/qcow2.h