[libvirt] [PATCH v3 0/7] Provide an standard asyncio event loop impl

Michal Privoznik mprivozn at redhat.com
Wed Apr 5 08:12:29 UTC 2017


On 04/04/2017 04:31 PM, Daniel P. Berrange wrote:
> 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
>

The subject doesn't say so, but the diffstat does. This is against 
libvirt-python.


ACK series.

Michal




More information about the libvir-list mailing list