[libvirt] [PATCH 2/3] qemuDomainObjBeginNestedJob: Return -2 for temporary failures

Peter Krempa pkrempa at redhat.com
Wed May 14 08:36:57 UTC 2014


On 05/13/14 15:44, Jiri Denemark wrote:
> If job queue is full or waiting for a job times out, the function
> returns -2 so that it can be handled in a different way by callers.
> 
> The change is safe since all existing callers of

There's just one :)

> qemuDomainObjBeginNestedJob check the return value to be less than zero.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  src/qemu/qemu_domain.c | 29 ++++++++++++++++++++---------
>  1 file changed, 20 insertions(+), 9 deletions(-)
> 

ACK,

Peter


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140514/462dcf50/attachment-0001.sig>


More information about the libvir-list mailing list