summaryrefslogtreecommitdiffstats
path: root/softmmu_header.h
diff options
context:
space:
mode:
authorMORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>2011-08-12 21:33:15 +0900
committerKevin Wolf <kwolf@redhat.com>2011-08-24 14:53:51 +0200
commit2df4624662103eb007428e6ded3b3496a952b154 (patch)
tree74e52bf0382e488c07a71a24391a4f893bf40da0 /softmmu_header.h
parentab0997e0afdcb272fd04784a280b2df46b0c759f (diff)
downloadhqemu-2df4624662103eb007428e6ded3b3496a952b154.zip
hqemu-2df4624662103eb007428e6ded3b3496a952b154.tar.gz
sheepdog: use coroutines
This makes the sheepdog block driver support bdrv_co_readv/writev instead of bdrv_aio_readv/writev. With this patch, Sheepdog network I/O becomes fully asynchronous. The block driver yields back when send/recv returns EAGAIN, and is resumed when the sheepdog network connection is ready for the operation. Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'softmmu_header.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud