Re: [Qemu-devel] [PATCH 03/10] block: Assert no write requests under BDRV_O_INCOMING

2015-12-22 Thread Eric Blake
On 12/22/2015 09:46 AM, Kevin Wolf wrote: > As long as BDRV_O_INCOMING is set, the image file is only opened so we > have a file descriptor for it. We're definitely not supposed to modify > the image, it's still owned by the migration source. > > Signed-off-by: Kevin Wolf > --- > block/io.c | 2

[Qemu-devel] [PATCH 03/10] block: Assert no write requests under BDRV_O_INCOMING

2015-12-22 Thread Kevin Wolf
As long as BDRV_O_INCOMING is set, the image file is only opened so we have a file descriptor for it. We're definitely not supposed to modify the image, it's still owned by the migration source. Signed-off-by: Kevin Wolf --- block/io.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/block/