Re: [Qemu-devel] [PATCH] block: Simplify BDRV_BLOCK_RAW recursion

2017-05-09 Thread Stefan Hajnoczi
On Thu, May 04, 2017 at 12:37:45PM -0500, Eric Blake wrote: > Since we are already in coroutine context during the body of > bdrv_co_get_block_status(), we can shave off a few layers of > wrappers when recursing to query the protocol when a format driver > returned BDRV_BLOCK_RAW. > > Note that we

Re: [Qemu-devel] [PATCH] block: Simplify BDRV_BLOCK_RAW recursion

2017-05-09 Thread Fam Zheng
On Thu, 05/04 12:37, Eric Blake wrote: > Since we are already in coroutine context during the body of > bdrv_co_get_block_status(), we can shave off a few layers of > wrappers when recursing to query the protocol when a format driver > returned BDRV_BLOCK_RAW. > > Note that we are already using th

Re: [Qemu-devel] [PATCH] block: Simplify BDRV_BLOCK_RAW recursion

2017-05-05 Thread Max Reitz
On 04.05.2017 19:37, Eric Blake wrote: > Since we are already in coroutine context during the body of > bdrv_co_get_block_status(), we can shave off a few layers of > wrappers when recursing to query the protocol when a format driver > returned BDRV_BLOCK_RAW. > > Note that we are already using th