]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Introduce public API for cancelling async domain jobs
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 4 Feb 2010 16:12:01 +0000 (16:12 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 2 Mar 2010 16:23:31 +0000 (16:23 +0000)
commit4fee63fe1c8c07facbb2662c8b1c721e8ec87c9d
treeaa1d28185f0cf5528e8679549babac0fb5bfeb01
parent0d3eee7fe8bcaa49af4c67970dc83a2505ec07ea
Introduce public API for cancelling async domain jobs

The new virDomainAbortJob() method provides a way for a second
thread to abort an ongoing job run by another thread. This
extends to any API with  which the virDomainGetJobInfo() API
is intended to work. Cancellation is not guarenteed, rather best
effort on part of the hypervisor and not required to be implmented.

* include/libvirt/libvirt.h.in: Define virDomainAbortJob()
include/libvirt/libvirt.h.in