commit | 0af02bd10783e08220a784eb8d7e2f821a64f0fa | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Jun 01 13:51:44 2023 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Jun 28 09:46:33 2023 +0200 |
tree | 70d64c562f7258fa7ff549a5d9c003340a11ab55 | |
parent | 70bacc44532f6324473b8d701705cd003e2fe678 [diff] |
block: use bdrv_co_getlength in coroutine context bdrv_co_getlength was recently introduced, with bdrv_getlength becoming a wrapper for use in unknown context. Switch to bdrv_co_getlength when possible. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-ID: <20230601115145.196465-12-pbonzini@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>