diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-02-13 14:52:23 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2017-02-21 11:14:07 +0000 |
commit | c4c497d27f0be8552ae244e76ba2bce66bd2443e (patch) | |
tree | 40245bf470ac02621e371fb17ce4de52d9d47cb4 /nbd | |
parent | bf88c1247f80ac6d62710d5d0d0d9ce3a53e99ec (diff) |
io: make qio_channel_yield aware of AioContexts
Support separate coroutines for reading and writing, and place the
read/write handlers on the AioContext that the QIOChannel is registered
with.
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 20170213135235.12274-7-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'nbd')
0 files changed, 0 insertions, 0 deletions