xen/sched: create public function for cpupools creation
authorLuca Fancellu <luca.fancellu@arm.com>
Fri, 6 May 2022 12:00:07 +0000 (13:00 +0100)
committerStefano Stabellini <stefano.stabellini@xilinx.com>
Mon, 9 May 2022 20:32:08 +0000 (13:32 -0700)
commita32769dd2469ee4aeaa6371b7a4e1e52d0e0226e
treea7a513bd07110657b995729e9ec00fcf05482050
parent5b9647f771ce0a80c4de4eeaa55f6cf07a5d1f64
xen/sched: create public function for cpupools creation

Create new public function to create cpupools, can take as parameter
the scheduler id or a negative value that means the default Xen
scheduler will be used.

Signed-off-by: Luca Fancellu <luca.fancellu@arm.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
xen/common/sched/cpupool.c
xen/include/xen/sched.h