summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorPaolo Bonzini2013-09-04 19:00:22 +0200
committerStefan Hajnoczi2013-09-06 15:25:08 +0200
commitbdad13b9deec47d5d9eaf7f43867d19a79471244 (patch)
tree2a785eee2dd21b55f0a784971f0f6d62a1956b46 /include/exec
parentblock: keep bs->total_sectors up to date even for growable block devices (diff)
downloadqemu-bdad13b9deec47d5d9eaf7f43867d19a79471244.tar.gz
qemu-bdad13b9deec47d5d9eaf7f43867d19a79471244.tar.xz
qemu-bdad13b9deec47d5d9eaf7f43867d19a79471244.zip
block: make bdrv_co_is_allocated static
bdrv_is_allocated can detect coroutine context and go through a fast path, similar to other block layer functions. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions