[libvirt] [PATCH v2 1/5] Add public API to register a callback to be invoked on connection close

Daniel P. Berrange berrange at redhat.com
Mon Jul 30 14:52:04 UTC 2012


On Mon, Jul 30, 2012 at 03:52:37PM +0200, Peter Krempa wrote:
> On 07/26/12 12:57, Jiri Denemark wrote:
> >On Tue, Jul 24, 2012 at 14:17:01 +0100, Daniel P. Berrange wrote:
> >>From: "Daniel P. Berrange" <berrange at redhat.com>
> >>
> >>Define new virConnect{Register,Unregister}CloseCallback() public APIs
> >>which allows registering/unregistering a callback to be invoked when
> >>the connection to a hypervisor is closed. The callback is provided
> >>with the reason for the close, which may be 'error', 'eof' or
> >>'keepalive'.
> >
> 
> This patch misses implementation of python bindings for this API
> functions. I pushed commit 72f55fac10a901bb0d953698b71e26f01b2db3c
> that fixes the build (skips generating of this function bodies as
> the generator can't do it) but they'll need to be implemented in a
> followup patch.

Oh damn it, I knew there was something I'd forget. Not sure why I didn't
see a python build failure myself, perhaps I'm missing python-devel on
the machine I developed this on.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list