[libvirt] [PATCH 3/5] qemu: Add connection close callbacks

Eric Blake eblake at redhat.com
Tue Mar 20 22:17:25 UTC 2012


On 03/19/2012 10:18 AM, Jiri Denemark wrote:
> Add support for registering arbitrary callback to be called for a domain
> when a connection gets closed.
> ---
>  src/qemu/qemu_conf.c   |  172 ++++++++++++++++++++++++++++++++++++++++++++++++
>  src/qemu/qemu_conf.h   |   27 ++++++++
>  src/qemu/qemu_driver.c |    5 ++
>  3 files changed, 204 insertions(+), 0 deletions(-)
> 

>  
> +    /* Mapping of 'char *uuidstr' -> qemuDriverCloseDefPtr of domains
> +     * which want a specific cleanup to be done when a connection is
> +     * closed. Such cleanup may be to automatically destroy  the

Are the two spaces intentional?

Other than that, 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/20120320/56a8bad6/attachment-0001.sig>


More information about the libvir-list mailing list