]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_domain: Introduce qemuDomainObjBeginJobNowait
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 7 Jun 2018 08:19:52 +0000 (10:19 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 19 Jun 2018 05:08:12 +0000 (07:08 +0200)
commitf38ea75b999a22deeec982dbca4762d7f614deea
tree2aabf7ba649dbb5ef15edc3aed649042caf13d61
parentaf0715bb61e4a430ea2fc7d3455af8222bbca9f1
qemu_domain: Introduce qemuDomainObjBeginJobNowait

The aim of this API is to allow the caller to do best effort.
Some functions can work even when acquiring the job fails (e.g.
qemuConnectGetAllDomainStats()). But what they can't bear is
delay if they have to wait up to 30 seconds for each domain that
is processing some other job.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h