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@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