[libvirt] [PATCH 1/5] qemu: Add support for domain cleanup callbacks
Eric Blake
eblake at redhat.com
Tue Mar 20 21:46:57 UTC 2012
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 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/6017ccbf/attachment-0001.sig>
More information about the libvir-list
mailing list