Re: [Qemu-devel] [PATCH v2 1/3] block: Make bdrv_is_writable() public

2018-06-06 Thread Jeff Cody
On Wed, Jun 06, 2018 at 09:37:00PM +0200, Max Reitz wrote: > This is a useful function for the whole block layer, so make it public. > At the same time, users outside of block.c probably do not need to make > use of the reopen functionality, so rename the current function to > bdrv_is_writable_afte

[Qemu-devel] [PATCH v2 1/3] block: Make bdrv_is_writable() public

2018-06-06 Thread Max Reitz
This is a useful function for the whole block layer, so make it public. At the same time, users outside of block.c probably do not need to make use of the reopen functionality, so rename the current function to bdrv_is_writable_after_reopen() create a new bdrv_is_writable() function that just passe