sched: dom0_vcpus_pin should only affect dom0
authorDario Faggioli <dfaggioli@suse.com>
Wed, 3 Aug 2022 10:14:01 +0000 (12:14 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 3 Aug 2022 10:14:01 +0000 (12:14 +0200)
commit01ca29f0b17a50a94b0e232ba276c32e95d80ae3
treea74874235aa05727e6b63f6ac3fc527d5751dcd3
parent2f2b76d47c5bcd9323a2acac8ba365013af34141
sched: dom0_vcpus_pin should only affect dom0

If dom0_vcpus_pin is used, make sure the pinning is only done for
dom0 vcpus, instead of for the hardware domain (which might not be
dom0 at all!).

Suggested-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Dario Faggioli <dfaggioli@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/common/sched/core.c