Re: [Qemu-devel] [PATCH 07/10] qcow2: Implement .bdrv_inactivate

2016-01-11 Thread Kevin Wolf
Am 22.12.2015 um 22:17 hat Eric Blake geschrieben: > On 12/22/2015 09:46 AM, Kevin Wolf wrote: > > The callback has to ensure that closing or flushing the image afterwards > > wouldn't cause a write access to the image files. This means that just > > the caches have to be written out, which is part

Re: [Qemu-devel] [PATCH 07/10] qcow2: Implement .bdrv_inactivate

2015-12-22 Thread Eric Blake
On 12/22/2015 09:46 AM, Kevin Wolf wrote: > The callback has to ensure that closing or flushing the image afterwards > wouldn't cause a write access to the image files. This means that just > the caches have to be written out, which is part of the existing > .bdrv_close implementation. > > Signed-

[Qemu-devel] [PATCH 07/10] qcow2: Implement .bdrv_inactivate

2015-12-22 Thread Kevin Wolf
The callback has to ensure that closing or flushing the image afterwards wouldn't cause a write access to the image files. This means that just the caches have to be written out, which is part of the existing .bdrv_close implementation. Signed-off-by: Kevin Wolf --- block/qcow2.c | 45 ++