diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-27 12:48:55 +0200 |
|---|---|---|
| committer | Fam Zheng <famz@redhat.com> | 2016-10-28 21:50:18 +0800 |
| commit | 88b062c2036cfd05b5111147736a08ba05ea05a9 (patch) | |
| tree | b7018cd61ca309939b7197f7ad3ff729f9c0769d /qemu-io-cmds.c | |
| parent | 6653a73d12fbac8c9b5c22bb21aef22759b28c1c (diff) | |
| download | focaccia-qemu-88b062c2036cfd05b5111147736a08ba05ea05a9.tar.gz focaccia-qemu-88b062c2036cfd05b5111147736a08ba05ea05a9.zip | |
block: introduce BDRV_POLL_WHILE
We want the BDS event loop to run exclusively in the iothread that owns the BDS's AioContext. This macro will provide the synchronization between the two event loops; for now it just wraps the common idiom of a while loop around aio_poll. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Message-Id: <1477565348-5458-8-git-send-email-pbonzini@redhat.com> Signed-off-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions