On 04.12.2023 16:23, Juergen Gross wrote:
> Trying to add an offline cpu to a cpupool can crash the hypervisor,
> as the probably non-existing percpu area of the cpu is accessed before
> the availability of the cpu is being tested. This can happen in case
> the cpupool's granularity is "core" or "socket".
> 
> Fix that by testing the cpu to be online.
> 
> Fixes: cb563d7665f2 ("xen/sched: support core scheduling for moving cpus 
> to/from cpupools")
> Reported-by: René Winther Højgaard <[email protected]>
> Signed-off-by: Juergen Gross <[email protected]>

Reviewed-by: Jan Beulich <[email protected]>



Reply via email to