+15
−9
+2
−2
+1
−1
+2
−2
+0
−2
Loading
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>