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

Re: [libvirt] [PATCH 1/5] qemu: Add support for domain cleanup callbacks



On 03/19/2012 10:18 AM, Jiri Denemark wrote:
> Add support for registering cleanup callbacks to be run when a domain
> transitions to shutoff state.
> ---
>  src/qemu/qemu_domain.c  |   73 +++++++++++++++++++++++++++++++++++++++++++++++
>  src/qemu/qemu_domain.h  |   15 +++++++++
>  src/qemu/qemu_process.c |    2 +
>  3 files changed, 90 insertions(+), 0 deletions(-)
> 

> +int
> +qemuDomainCleanupAdd(virDomainObjPtr vm,
> +                     qemuDomainCleanupCallback cb)
> +{

No opaque 'void *' parameter to pass to the cleanup?  I guess we can add
it later, if we find ourselves needing it, and didn't spot anything else
fishy in this patch, so:

ACK.

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

Attachment: signature.asc
Description: OpenPGP digital signature


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