On Tue, May 31, 2016 at 12:15:22PM +0300, Denis V. Lunev wrote: > From: Pavel Butsykin > > Added implementation of the qcow2_co_write_compressed function that > will allow us to safely use compressed writes for the qcow2 from running VMs. > > Signed-off-by: Pavel Butsykin > Signed-off-by: Denis V. Lunev > CC: Jeff Cody > CC: Markus Armbruster > CC: Eric Blake > CC: John Snow > CC: Stefan Hajnoczi > CC: Kevin Wolf > --- > block/qcow2.c | 89 ++++++++++++++++++++++++++++++++++------------------------- > 1 file changed, 52 insertions(+), 37 deletions(-) Reviewed-by: Stefan Hajnoczi