On Sat, Feb 08, 2014 at 05:50:02PM +0100, Kevin Wolf wrote: > 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 <kw...@redhat.com> > Reviewed-by: Max Reitz <mre...@redhat.com> > --- > block/qcow2-cluster.c | 22 ++++++++++++++++++++-- > 1 file changed, 20 insertions(+), 2 deletions(-)
Thanks, applied v2 to my block tree: https://github.com/stefanha/qemu/commits/block Stefan