-
- Downloads
You need to sign in or sign up before continuing.
sched: fix sched_move_domain() for domain without vcpus
In case a domain is created with a cpupool other than Pool-0 specified it will be moved to that cpupool before any vcpus are allocated. This will lead to a NULL pointer dereference in sched_move_domain(). Fix that by tolerating vcpus not being allocated yet. Fixes: 70fadc41 ("xen/cpupool: support moving domain between cpupools with different granularity") Reported-by:Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by:
Juergen Gross <jgross@suse.com> Reviewed-by:
Dario Faggioli <dfaggioli@suse.com>
Loading