diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-03-13 15:14:15 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-03-15 16:07:51 +0100 |
commit | 485e3ce88e8af0e5311dd626f399b3a1e0846dd6 (patch) | |
tree | 60ee8446e09e288ae004f05d56513f2106338a77 /tests/qemu-iotests/047.out | |
parent | 28f082469650a0f4c0e37b4ccd6f9514b1a0698d (diff) | |
download | qemu-485e3ce88e8af0e5311dd626f399b3a1e0846dd6.zip qemu-485e3ce88e8af0e5311dd626f399b3a1e0846dd6.tar.gz qemu-485e3ce88e8af0e5311dd626f399b3a1e0846dd6.tar.bz2 |
dataplane: fix hang introduced by AioContext transition
The bug is that the EventNotifiers do have a NULL io_flush callback.
Because _none_ of the callbacks on the dataplane AioContext have such a
callback, aio_poll will simply do nothing. Fixed by adding the callbacks:
the ioeventfd will always be polled (this can change in the future to
pause/resume the processing during live snapshots or similar operations);
the ioqueue will be polled if there are outstanding requests.
I must admit I have screwed up my testing somehow, because commit
2c20e71 does not work even if cherry-picked on top of 1.4.0, and this
patch fixes it there as well.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/047.out')
0 files changed, 0 insertions, 0 deletions