Paolo Bonzini 88b062c203 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>
2016-10-28 21:50:18 +08:00
..
2016-10-28 21:50:18 +08:00
2016-10-19 10:09:24 +01:00
2016-10-26 08:29:00 -07:00
2016-10-25 10:25:27 +01:00
2016-09-15 15:32:22 +03:00
2016-10-26 08:29:01 -07:00
2016-09-05 15:15:16 +02:00
2016-10-26 08:29:00 -07:00
2015-02-16 15:07:19 +00:00