[PATCH v4 4/8] qemu_domain: Introduce qemuDomainSchedCoreStart()

Daniel P. Berrangé berrange at redhat.com
Wed Oct 19 13:53:59 UTC 2022


On Thu, Oct 06, 2022 at 03:49:46PM +0200, Michal Privoznik wrote:
> The aim of this helper function is to spawn a child process in
> which new scheduling group is created. This dummy process will
> then used to distribute scheduling group from (e.g. when starting
> helper processes or QEMU itself). The process is not needed for
> QEMU_SCHED_CORE_NONE case (obviously) nor for
> QEMU_SCHED_CORE_VCPUS case (because in that case a slightly
> different child will be forked off).
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/qemu/qemu_domain.c  | 105 ++++++++++++++++++++++++++++++++++++++++
>  src/qemu/qemu_domain.h  |  12 +++++
>  src/qemu/qemu_process.c |   4 ++
>  3 files changed, 121 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


More information about the libvir-list mailing list