]> xenbits.xensource.com Git - libvirt.git/commit
libxl: use job functions when cleaning up a domain
authorJim Fehlig <jfehlig@suse.com>
Wed, 12 Feb 2014 23:06:41 +0000 (16:06 -0700)
committerJim Fehlig <jfehlig@suse.com>
Wed, 19 Feb 2014 18:10:00 +0000 (11:10 -0700)
commite4a0e900d3a8915e7b03ebcc33b3ba830311d972
tree1bf7d41227e3059ee01108f9841ddbd5393981c0
parentf5bc5bd4df1fd9f23f9950fa338dafc3852a4d8c
libxl: use job functions when cleaning up a domain

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.
src/libxl/libxl_driver.c