Re: [PATCH] Bind connection close callback APIs to python binding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/30/2012 10:31 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]