]> git.ipfire.org Git - thirdparty/libvirt.git/commit
hypervisor: domain_job: add maxQueuedJobs
authorKristina Hanicova <khanicov@redhat.com>
Wed, 10 Aug 2022 12:57:01 +0000 (14:57 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 10 Aug 2022 14:50:07 +0000 (16:50 +0200)
commitfe3df84a9c044bc2cb056f11c5460655d02cc9d8
tree90169a4f0e25e3a1b19b2f9f8b01f761a75af01b
parent6ba0ead71488a4ebe6dd43bfa293cacd74fe9c1a
hypervisor: domain_job: add maxQueuedJobs

This patch adds a new variable maxQueuedJobs into the job object
as it is the last hypervisor-based part of the begin job. Since
this patch, it will not be necessary to propagate driver
structure into the job functions.

Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
src/hypervisor/domain_job.h
src/qemu/qemu_domain.c
src/qemu/qemu_domainjob.c