[libvirt] [PATCH v2 0/2] libvirt-python: libvirtaio

Wojtek Porczyk posted 2 patches 7 years, 1 month ago
Failed in applying to current master (apply log)
libvirt-override.c     |  36 ++---
libvirt-override.py    |  39 +++++
libvirt-python.spec.in |   1 +
libvirtaio.py          | 401 +++++++++++++++++++++++++++++++++++++++++++++++++
sanitytest.py          |   5 +-
setup.py               |  12 ++
6 files changed, 468 insertions(+), 26 deletions(-)
create mode 100644 libvirtaio.py
[libvirt] [PATCH v2 0/2] libvirt-python: libvirtaio
Posted by Wojtek Porczyk 7 years, 1 month ago
Hello, libvirt-list,

This is second attempt at merging libvirtaio, an event loop implementation
which dispatches the callbacks via asyncio's event loop.

The first patch fixes the bug around freeing opaque objects [1][2], and the
second one is the actual implementation.

Since v1 series, as per Daniel Berrange's notes, the second patch has licence
comment changed to LGPL-2.1+ and there is no import into main libvirt module.
The first patch is unchanged.

[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    |  39 +++++
 libvirt-python.spec.in |   1 +
 libvirtaio.py          | 401 +++++++++++++++++++++++++++++++++++++++++++++++++
 sanitytest.py          |   5 +-
 setup.py               |  12 ++
 6 files changed, 468 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             `^-^-_>
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 0/2] libvirt-python: libvirtaio
Posted by Wojtek Porczyk 7 years, 1 month ago
On Fri, Mar 17, 2017 at 02:35:15PM +0100, Wojtek Porczyk wrote:
> This is second attempt at merging libvirtaio, an event loop implementation
> which dispatches the callbacks via asyncio's event loop.

Hi, libvirt-list,

Any progress on this?
Or is there some sub-list or maintainer, who I should Cc or contact directly?


-- 
pozdrawiam / best regards       _.-._
Wojtek Porczyk               .-^'   '^-.
Invisible Things Lab         |'-.-^-.-'|
                             |  |   |  |
 I do not fear computers,    |  '-.-'  |
 I fear lack of them.        '-._ :  ,-'
    -- Isaac Asimov             `^-^-_>
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 0/2] libvirt-python: libvirtaio
Posted by Daniel P. Berrange 7 years ago
On Fri, Mar 24, 2017 at 09:25:11PM +0100, Wojtek Porczyk wrote:
> On Fri, Mar 17, 2017 at 02:35:15PM +0100, Wojtek Porczyk wrote:
> > This is second attempt at merging libvirtaio, an event loop implementation
> > which dispatches the callbacks via asyncio's event loop.
> 
> Hi, libvirt-list,
> 
> Any progress on this?
> Or is there some sub-list or maintainer, who I should Cc or contact directly?

Sorry, I've been away on vacation for 2 weeks so wasn't able to look at it
before now.


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://entangle-photo.org       -o-    http://search.cpan.org/~danberr/ :|

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list