Re: [Qemu-devel] [PATCH for-2.11 1/2] block: Fix permissions in image activation

2017-11-17 Thread Max Reitz
On 2017-11-17 16:47, Kevin Wolf wrote: > Inactive images generally request less permissions for their image files > than they would if they were active (in particular, write permissions). > Activating the image involves extending the permissions, therefore. > > drv->bdrv_invalidate_cache() can alr

[Qemu-devel] [PATCH for-2.11 1/2] block: Fix permissions in image activation

2017-11-17 Thread Kevin Wolf
Inactive images generally request less permissions for their image files than they would if they were active (in particular, write permissions). Activating the image involves extending the permissions, therefore. drv->bdrv_invalidate_cache() can already require write access to the image file, so w