]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2.h
qcow2: Support BDRV_REQ_MAY_UNMAP
authorFam Zheng <famz@redhat.com>
Wed, 28 Sep 2016 07:04:21 +0000 (15:04 +0800)
committerKevin Wolf <kwolf@redhat.com>
Mon, 24 Oct 2016 15:54:03 +0000 (17:54 +0200)
commit170f4b2e5cf43895399f57ca4287f26c713be654
tree2d944a6be32df15e1cd137cc443f200602ae4aa7
parente84a0dd5a75d8e89bec05fac432941988191df32
qcow2: Support BDRV_REQ_MAY_UNMAP

Handling this is similar to what is done to the L2 entry in the case of
compressed clusters.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2-cluster.c
block/qcow2.c
block/qcow2.h