[Qemu-block] [PATCH v2 1/5] mirror: keep an extra reference to the target image during the job

2015-10-22 Thread Alberto Garcia
During the 'drive-mirror' operation the target image only has the monitor reference, therefore there's nothing that prevents its deletion using the 'x-blockdev-del' command before the block job has finished. Signed-off-by: Alberto Garcia --- block/mirror.c | 6 ++ 1 file

Re: [Qemu-block] [PATCH v2 1/5] mirror: keep an extra reference to the target image during the job

2015-10-22 Thread Alberto Garcia
On Thu 22 Oct 2015 05:13:55 PM CEST, Alberto Garcia wrote: > During the 'drive-mirror' operation the target image only has the > monitor reference, therefore there's nothing that prevents its > deletion using the 'x-blockdev-del' command before the block job has > finished. Answering myself: it's