mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 16:57:20 +00:00
hv: sched: use hypervisor configuration to choose scheduler
For now, we set NOOP scheduler as default. User can choose IORR scheduler as needed. Tracked-On: #4178 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -37,6 +37,27 @@ config HYBRID
|
||||
|
||||
endchoice
|
||||
|
||||
choice
|
||||
prompt "ACRN Scheduler"
|
||||
default SCHED_NOOP
|
||||
help
|
||||
Select the CPU scheduler to be used by the hypervisor
|
||||
|
||||
config SCHED_NOOP
|
||||
bool "NOOP scheduler"
|
||||
help
|
||||
The NOOP (No-Operation) scheduler means there is a strict 1 to 1 mapping
|
||||
between vCPUs and pCPUs.
|
||||
|
||||
config SCHED_IORR
|
||||
bool "IORR scheduler"
|
||||
help
|
||||
IORR (IO sensitive Round Robin) scheduler supports multipule vCPUs running on
|
||||
on one pCPU, and they will be scheduled by a IO sensitive round robin policy.
|
||||
|
||||
endchoice
|
||||
|
||||
|
||||
config BOARD
|
||||
string "Target board"
|
||||
help
|
||||
|
Reference in New Issue
Block a user