aboutsummaryrefslogtreecommitdiff
path: root/qemu-lock.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-04-12 14:00:55 +0200
committerKevin Wolf <kwolf@redhat.com>2012-04-19 16:50:49 +0200
commitbcdc18578d5b41180db2e17baa7563c5f05b39ee (patch)
treea4a818afaeed5c47f3f95786028b9aef041cfbcf /qemu-lock.h
parentbafbd6a1c69fef73500309dc31c86984c6d22b43 (diff)
aio: return "AIO in progress" state from qemu_aio_wait
The definition of when qemu_aio_flush should loop is much simpler than it looks. It just has to call qemu_aio_wait until it makes no progress and all flush callbacks return false. qemu_aio_wait is the logical place to tell the caller about this. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-lock.h')
0 files changed, 0 insertions, 0 deletions