summaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2017-05-04 12:37:45 -0500
committerStefan Hajnoczi <stefanha@redhat.com>2017-05-12 10:36:46 -0400
commitee29d6adefcca7e76abb124183814ed3acc74fac (patch)
treed569abf57f6b36cf12a5ce0afcab4651fcc47868 /COPYING
parent33c53c54e404b2cf0d78864bf1fa22b28fa93402 (diff)
downloadqemu-ee29d6adefcca7e76abb124183814ed3acc74fac.tar.gz
block: Simplify BDRV_BLOCK_RAW recursion
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 the correct recursion later on in the same function, when probing whether the protocol layer is sparse in order to find out if we can add BDRV_BLOCK_ZERO to an existing BDRV_BLOCK_DATA|BDRV_BLOCK_OFFSET_VALID. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Message-id: 20170504173745.27414-1-eblake@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions