This patch series is a followup to Wojtek's v2 posting: https://www.redhat.com/archives/libvir-list/2017-March/msg00838.html It contains the fixes I pointed out in v1 / v2, along with a bunch of updates to the event-test.py example, so we can use it to demonstrate the asyncio impl. eg i'm using: $ python3 ./examples/event-test.py --loop=asyncio --timeout=30 qemu:///session Daniel P. Berrange (5): event-test: free opaque data when removing callbacks event-test: add timeout to exit event loop event-test: unregister callbacks & close conn on exit event-test: rename example event loop impl event-test: add ability to run the asyncio event loop Wojtek Porczyk (2): Allow for ff callbacks to be called by custom event implementations Add asyncio event loop implementation MANIFEST.in | 1 + examples/event-test.py | 194 +++++++++++++++--------- libvirt-override.c | 68 +++++---- libvirt-override.py | 23 +++ libvirt-python.spec.in | 2 + libvirtaio.py | 399 +++++++++++++++++++++++++++++++++++++++++++++++++ sanitytest.py | 3 +- setup.py | 12 ++ 8 files changed, 603 insertions(+), 99 deletions(-) create mode 100644 libvirtaio.py -- 2.9.3 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list