summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorPaolo Bonzini2016-10-27 12:48:55 +0200
committerFam Zheng2016-10-28 15:50:18 +0200
commit88b062c2036cfd05b5111147736a08ba05ea05a9 (patch)
treeb7018cd61ca309939b7197f7ad3ff729f9c0769d /scripts/switch-timer-api
parentqed: Implement .bdrv_drain (diff)
downloadqemu-88b062c2036cfd05b5111147736a08ba05ea05a9.tar.gz
qemu-88b062c2036cfd05b5111147736a08ba05ea05a9.tar.xz
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 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions