]> git.proxmox.com Git - mirror_qemu.git/commit
aio: introduce qemu_get_current_aio_context
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 27 Oct 2016 10:48:59 +0000 (12:48 +0200)
committerFam Zheng <famz@redhat.com>
Fri, 28 Oct 2016 13:50:18 +0000 (21:50 +0800)
commite437016511edb0dfa13cc98587c39590eaa2609a
treeacf1b17ca024a06b3f7d7c2fde5f2a56fcdace47
parentf11672dbc0207cfb0015a2d08e7693b957847cbe
aio: introduce qemu_get_current_aio_context

This will be used by BDRV_POLL_WHILE (and thus by bdrv_drain)
to choose how to wait for I/O completion.

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1477565348-5458-12-git-send-email-pbonzini@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
include/block/aio.h
iothread.c
stubs/Makefile.objs
stubs/iothread.c [new file with mode: 0644]