commit | bdad13b9deec47d5d9eaf7f43867d19a79471244 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Sep 04 19:00:22 2013 +0200 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Fri Sep 06 15:25:08 2013 +0200 |
tree | 2a785eee2dd21b55f0a784971f0f6d62a1956b46 | |
parent | df2a6f29a5019707d69f6eeb30cf792841cae5aa [diff] |
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>