diff options
| author | Paolo Bonzini | 2017-02-13 14:52:23 +0100 |
|---|---|---|
| committer | Stefan Hajnoczi | 2017-02-21 12:14:07 +0100 |
| commit | c4c497d27f0be8552ae244e76ba2bce66bd2443e (patch) | |
| tree | 40245bf470ac02621e371fb17ce4de52d9d47cb4 /block | |
| parent | io: add methods to set I/O handlers on AioContext (diff) | |
| download | qemu-c4c497d27f0be8552ae244e76ba2bce66bd2443e.tar.gz qemu-c4c497d27f0be8552ae244e76ba2bce66bd2443e.tar.xz qemu-c4c497d27f0be8552ae244e76ba2bce66bd2443e.zip | |
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 'block')
0 files changed, 0 insertions, 0 deletions
