Re: [Qemu-devel] [PATCH v5 02/12] qcow2: Implement bdrv_make_empty()

2014-04-23 Thread Kevin Wolf
Am 22.04.2014 um 18:02 hat Max Reitz geschrieben: > On 22.04.2014 16:23, Kevin Wolf wrote: > >QCOW2_DISCARD_REQUEST is for requests that come from the guest. SNAPSHOT > >would be a nice fit if we reinterpreted it so that it doesn't only refer > >to internal snapshots but also to external ones. I wo

Re: [Qemu-devel] [PATCH v5 02/12] qcow2: Implement bdrv_make_empty()

2014-04-22 Thread Max Reitz
On 22.04.2014 16:23, Kevin Wolf wrote: Am 17.04.2014 um 23:59 hat Max Reitz geschrieben: Implement bdrv_make_empty() by making all clusters in the image fall through to the backing file (via the now modified discard). Signed-off-by: Max Reitz --- block/qcow2.c | 22 ++ 1

Re: [Qemu-devel] [PATCH v5 02/12] qcow2: Implement bdrv_make_empty()

2014-04-22 Thread Kevin Wolf
Am 17.04.2014 um 23:59 hat Max Reitz geschrieben: > Implement bdrv_make_empty() by making all clusters in the image fall > through to the backing file (via the now modified discard). > > Signed-off-by: Max Reitz > --- > block/qcow2.c | 22 ++ > 1 file changed, 22 insertions(+