aboutsummaryrefslogtreecommitdiff
path: root/vmstate.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2014-02-08 14:38:33 +0100
committerKevin Wolf <kwolf@redhat.com>2014-02-21 21:02:21 +0100
commita71835a0ccff168b19ffc9656fe27988821ec59a (patch)
tree9d328538c78f9be36db90eb4dff9c8d4b3de2e77 /vmstate.c
parent3e890c77cf038d8c2de66ed7996fe77a6f94787c (diff)
qcow2: Set zero flag for discarded clusters
Instead of making the backing file contents visible again after a discard request, set the zero flag if possible (i.e. on version >= 3). Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'vmstate.c')
0 files changed, 0 insertions, 0 deletions