[PATCH v4 7/8] qemu: Enable SCHED_CORE for vCPUs

2022-10-06 Thread Michal Privoznik
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

[PATCH v4 7/8] qemu: Enable SCHED_CORE for vCPUs

2022-08-24 Thread Michal Privoznik
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