diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-02-22 10:40:34 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-03-04 09:54:17 +0100 |
commit | 2c20e711de308cdebc91ae4b7a983396b56f1de0 (patch) | |
tree | b9058c7bc4da0ca37c944fc0af0837701512a594 /util | |
parent | 69b302b2044a9a0f6d157d25b39a91ff7124c61f (diff) | |
download | hqemu-2c20e711de308cdebc91ae4b7a983396b56f1de0.zip hqemu-2c20e711de308cdebc91ae4b7a983396b56f1de0.tar.gz |
dataplane: remove EventPoll in favor of AioContext
During the review of the dataplane code, the EventPoll API morphed itself
(not concidentially) into something very very similar to an AioContext.
Thus, it is trivial to convert virtio-blk-dataplane to use AioContext,
and a first baby step towards letting dataplane talk directly to the
QEMU block layer.
The only interesting note is the value-copy of EventNotifiers. At least
in my opinion this is part of the EventNotifier API and is even portable
to Windows. Of course, in this case you should not close the notifier's
underlying file descriptors or handle with event_notifier_cleanup.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions