]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: acquire a job when destroying a domain
authorJim Fehlig <jfehlig@suse.com>
Sun, 1 Mar 2015 23:22:07 +0000 (16:22 -0700)
committerJim Fehlig <jfehlig@suse.com>
Thu, 16 Apr 2015 22:43:18 +0000 (16:43 -0600)
commit894d2ff759ac48e915da36ffa162841c7c207a6a
tree44226dab9f5d0b9bceb23a7e8c0fad9fc4a703e3
parentf86ae403246ba1720b88ea4ea8a87864f5dfd9cb
libxl: acquire a job when destroying a domain

A job should be acquired at the beginning of a domain destroy operation,
not at the end when cleaning up the domain.  Fix two occurrences of this
late job acquisition in the libxl driver.  Doing so renders
libxlDomainCleanupJob unused, so it is removed.

Signed-off-by: Jim Fehlig <jfehlig@suse.com>
src/libxl/libxl_domain.c
src/libxl/libxl_domain.h
src/libxl/libxl_driver.c