Re: [Qemu-devel] [PATCH 3/7] block: Update bs->open_flags earlier in bdrv_open_common()

2016-09-14 Thread Kevin Wolf
Am 14.09.2016 um 17:52 hat Alberto Garcia geschrieben: > We're only doing this immediately before opening the image, but > bs->open_flags is used earlier in the function. At the moment this is > not causing problems because none of the checked flags are modified by > update_flags_from_options(), bu

[Qemu-devel] [PATCH 3/7] block: Update bs->open_flags earlier in bdrv_open_common()

2016-09-14 Thread Alberto Garcia
We're only doing this immediately before opening the image, but bs->open_flags is used earlier in the function. At the moment this is not causing problems because none of the checked flags are modified by update_flags_from_options(), but this will change when we introduce the "read-only" option. T