]> git.proxmox.com Git - mirror_qemu.git/commit
qcow2: Return error for snapshot operation with data file
authorKevin Wolf <kwolf@redhat.com>
Wed, 27 Feb 2019 16:25:08 +0000 (17:25 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 8 Mar 2019 11:26:46 +0000 (12:26 +0100)
commitaa8b34c1b21b8a977de0293cfba9fb91ed14350d
treeee6d67aeae6b5e570da8cb83cbb249e0fcdc351a
parent966b000f49c3f44d2853d691f6bbc2a4e1f2d0b0
qcow2: Return error for snapshot operation with data file

Internal snapshots and an external data file are incompatible because
snapshots require refcounting and non-linear mapping. Return an error
for all of the snapshot operations if an external data file is in use.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-snapshot.c