[libvirt] [PATCH V2 07/13] libxl: use job functions when cleaning up a domain

Daniel P. Berrange berrange at redhat.com
Wed Feb 19 17:42:45 UTC 2014


On Wed, Feb 12, 2014 at 06:56:21PM -0700, Jim Fehlig wrote:
> When explicitly destroying a domain (libxlDomainDestroyFlags), or
> handling an out-of-band domain shutdown event, cleanup the domain
> in the context of a job.  Introduce libxlVmCleanupJob to wrap
> libxlVmCleanup in a job block.
> 
> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
> ---
> 
> V2:
>   Introduce libxlVmCleanupJob and call it when needing libxlVmCleanup
>   in a job block.
>   Check libxlDomainObjEndJob() return value
> 
>  src/libxl/libxl_driver.c | 38 ++++++++++++++++++++++++++++++--------
>  1 file changed, 30 insertions(+), 8 deletions(-)

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list