Re: [PATCH v3 6/8] qemu: Enable SCHED_CORE for helper processes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Aug 12, 2022 at 12:04:21PM +0200, Michal Privoznik wrote:
> For QEMU_SCHED_CORE_FULL case, all helper processes should be
> placed into the same scheduling group as the QEMU process they
> serve. It may happen though, that a helper process is started
> before QEMU (cold start of a domain). But we have the dummy
> process running from which the QEMU process will inherit the
> scheduling group, so we can use the dummy process PID as an
> argument to virCommandSetRunAmong().
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/qemu/qemu_process.c  |  9 +++++++++
>  src/qemu/qemu_security.c | 11 +++++++++++
>  src/qemu/qemu_virtiofs.c | 11 +++++++++++
>  3 files changed, 31 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>


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 :|




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux