
20 Mar
2012
20 Mar
'12
10:46 p.m.
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