commit | e437016511edb0dfa13cc98587c39590eaa2609a | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Oct 27 12:48:59 2016 +0200 |
committer | Fam Zheng <famz@redhat.com> | Fri Oct 28 21:50:18 2016 +0800 |
tree | acf1b17ca024a06b3f7d7c2fde5f2a56fcdace47 | |
parent | f11672dbc0207cfb0015a2d08e7693b957847cbe [diff] |
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>