On 08/09/2012 02:43 AM, Jeff Cody wrote:
On 07/30/2012 05:34 PM, Supriya Kannery wrote:
Struct BDRVReopenState along with three reopen related functions
introduced for handling reopening of images safely. This can be
extended by each of the block drivers to reopen respective
image files.

+
+        bdrv_reopen_commit(bs, reopen_state);
+        bs->open_flags = bdrv_flags;

You also need to set bs->read_only here, like so:
      bs->read_only = !(bdrv_flags&  BDRV_O_RDWR);



Sure..will include in updated patch.

- thanks, Supriya


Reply via email to