[PATCH v3 7/8] qemu: Enable SCHED_CORE for vCPUs
Daniel P. Berrangé
berrange at redhat.com
Tue Aug 23 16:14:04 UTC 2022
On Fri, Aug 12, 2022 at 12:04:22PM +0200, Michal Privoznik wrote:
> For QEMU_SCHED_CORE_VCPUS case, the vCPU threads should be placed
> all into one scheduling group, but not the emulator or any of its
> threads. Therefore, as soon as vCPU TIDs are detected, fork off a
> child which then creates a separate scheduling group and adds all
> vCPU threads into it.
>
> Please note, this commit only handles the cold boot case. Hotplug
> is going to be implemented in the next commit.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/qemu/qemu_process.c | 39 +++++++++++++++++++++++++++++++++++++++
> 1 file changed, 39 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