[libvirt] [PATCH v1 0/2] libvirt-python: virEventAsyncIOImpl (was: libvirtaio)

Wojtek Porczyk woju at invisiblethingslab.com
Fri Mar 17 01:16:11 UTC 2017


Hello,

As promised, this is the event loop implementation which dispatches the
callbacks via asyncio's event loop.

There are two patches: the first one fixes the bug around freeing opaque
objects [1][2], and the second one is the actual implementation.

Compared to standalone version I did earlier, this has public names more
similar in style to other functions in the module. Also some comments are
corrected, and packaging code is lightly touched.

[1] https://www.redhat.com/archives/libvir-list/2017-January/msg00863.html
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1433028


Wojtek Porczyk (2):
  Allow for ff callbacks to be called by custom event implementations
  Add asyncio event loop implementation

 libvirt-override.c     |  36 ++---
 libvirt-override.py    |  45 ++++++
 libvirt-python.spec.in |   1 +
 libvirtaio.py          | 398 +++++++++++++++++++++++++++++++++++++++++++++++++
 sanitytest.py          |   5 +-
 setup.py               |  12 ++
 6 files changed, 471 insertions(+), 26 deletions(-)
 create mode 100644 libvirtaio.py


-- 
pozdrawiam / best regards       _.-._
Wojtek Porczyk               .-^'   '^-.
Invisible Things Lab         |'-.-^-.-'|
                             |  |   |  |
 I do not fear computers,    |  '-.-'  |
 I fear lack of them.        '-._ :  ,-'
    -- Isaac Asimov             `^-^-_>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170317/014eb8d4/attachment-0001.sig>


More information about the libvir-list mailing list