diff options
| author | Max Reitz <mreitz@redhat.com> | 2017-10-09 23:55:32 +0200 |
|---|---|---|
| committer | Max Reitz <mreitz@redhat.com> | 2017-10-26 15:01:14 +0200 |
| commit | 572b07bea1d1a0f7726fd95c2613c76002a379bc (patch) | |
| tree | 0026335f2d6bda08fc0e9ecb37ea6074df3ae5dd /scripts/git-submodule.sh | |
| parent | e400ad1e1f0127b4fdabcb1c8de1e99be91788df (diff) | |
| download | focaccia-qemu-572b07bea1d1a0f7726fd95c2613c76002a379bc.tar.gz focaccia-qemu-572b07bea1d1a0f7726fd95c2613c76002a379bc.zip | |
qcow2: Always execute preallocate() in a coroutine
Some qcow2 functions (at least perform_cow()) expect s->lock to be taken. Therefore, if we want to make use of them, we should execute preallocate() (as "preallocate_co") in a coroutine so that we can use the qemu_co_mutex_* functions. Signed-off-by: Max Reitz <mreitz@redhat.com> Message-id: 20171009215533.12530-3-mreitz@redhat.com Cc: qemu-stable@nongnu.org Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Jeff Cody <jcody@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'scripts/git-submodule.sh')
0 files changed, 0 insertions, 0 deletions