[libvirt] [PATCH 2/2] AbortJob: Fix documentation

This API was never synchronous and probably doesn't even need to be. --- I am sending this as a separate patch as regardless if my previous patch got accepted or not this one is still true. src/libvirt.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/libvirt.c b/src/libvirt.c index bcb8233..bdb1dc6 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -17182,8 +17182,7 @@ error: * @domain: a domain object * * Requests that the current background job be aborted at the - * soonest opportunity. This will block until the job has - * either completed, or aborted. + * soonest opportunity. * * Returns 0 in case of success and -1 in case of failure. */ -- 1.7.8.6

On 11/08/2012 07:14 AM, Michal Privoznik wrote:
This API was never synchronous and probably doesn't even need to be. ---
I am sending this as a separate patch as regardless if my previous patch got accepted or not this one is still true.
ACK. Note however that virDomainBlockJobAbort() defaults to synchronous; on the other hand, that function also has a flags argument that can be used to request async; too bad we don't have a flags argument for virDomainAbortJob. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (2)
-
Eric Blake
-
Michal Privoznik