]> Git Repo - qemu.git/commit - block/io.c
block: introduce BDRV_POLL_WHILE
authorPaolo Bonzini <[email protected]>
Thu, 27 Oct 2016 10:48:55 +0000 (12:48 +0200)
committerFam Zheng <[email protected]>
Fri, 28 Oct 2016 13:50:18 +0000 (21:50 +0800)
commit88b062c2036cfd05b5111147736a08ba05ea05a9
treeb7018cd61ca309939b7197f7ad3ff729f9c0769d
parent6653a73d12fbac8c9b5c22bb21aef22759b28c1c
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 <[email protected]>
Reviewed-by: Fam Zheng <[email protected]>
Message-Id: <1477565348[email protected]>
Signed-off-by: Fam Zheng <[email protected]>
block/block-backend.c
block/io.c
block/qed-table.c
include/block/block.h
This page took 0.025909 seconds and 4 git commands to generate.