[libvirt] [PATCH] Bind connection close callback APIs to python binding

Eric Blake eblake at redhat.com
Mon Jul 30 17:05:53 UTC 2012


On 07/30/2012 10:31 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> Add code in the python binding to cope with the new APIs
> virConnectRegisterCloseCallback and
> virConnectDeregisterCloseCallback. Also demonstrate their
> use in the python domain events demo
> ---
>  examples/domain-events/events-python/event-test.py |   14 ++-
>  python/generator.py                                |    5 +-
>  python/libvirt-override-virConnect.py              |   24 +++++
>  python/libvirt-override.c                          |  107 ++++++++++++++++++++
>  4 files changed, 147 insertions(+), 3 deletions(-)

The example helps prove that it works; and based on similarity to
existing bindings for virConnectDomainEventRegister, I'm comfortable
giving an ACK.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120730/28bfac06/attachment-0001.sig>


More information about the libvir-list mailing list