Re: [Qemu-devel] [PATCH v2] block: Close backing file early in bdrv_img_create

2013-12-02 Thread Stefan Hajnoczi
On Mon, Dec 02, 2013 at 11:37:36AM +0800, Wenchao Xia wrote: 于 2013/11/30 4:41, Max Reitz 写道: Leaving the backing file open although it is not needed anymore can cause problems if it is opened through a block driver which allows exclusive access only and if the create function of the block

Re: [Qemu-devel] [PATCH v2] block: Close backing file early in bdrv_img_create

2013-12-01 Thread Wenchao Xia
于 2013/11/30 4:41, Max Reitz 写道: Leaving the backing file open although it is not needed anymore can cause problems if it is opened through a block driver which allows exclusive access only and if the create function of the block driver used for the top image (the one being created) tries to

[Qemu-devel] [PATCH v2] block: Close backing file early in bdrv_img_create

2013-11-29 Thread Max Reitz
Leaving the backing file open although it is not needed anymore can cause problems if it is opened through a block driver which allows exclusive access only and if the create function of the block driver used for the top image (the one being created) tries to close and reopen the image file (which

Re: [Qemu-devel] [PATCH v2] block: Close backing file early in bdrv_img_create

2013-11-29 Thread Benoît Canet
Le Friday 29 Nov 2013 à 21:41:29 (+0100), Max Reitz a écrit : Leaving the backing file open although it is not needed anymore can cause problems if it is opened through a block driver which allows exclusive access only and if the create function of the block driver used for the top image (the