From e0f4a05df2fd4ac09941d7223828d0da3d5b035f Mon Sep 17 00:00:00 2001 From: Kunhui-Li Date: Thu, 5 Aug 2021 18:18:56 +0800 Subject: [PATCH] doc: update Kconfig related doc Replace Kconfig related scheduler configuration with scenario XML file configuration in tutorials because the Kconfig related files have been removed in the other PR 6358. Signed-off-by: Kunhui-Li --- doc/tutorials/cpu_sharing.rst | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/doc/tutorials/cpu_sharing.rst b/doc/tutorials/cpu_sharing.rst index 73b7932e0..fd8bc7ed8 100644 --- a/doc/tutorials/cpu_sharing.rst +++ b/doc/tutorials/cpu_sharing.rst @@ -128,26 +128,11 @@ and BVT (Borrowed Virtual Time) scheduler. Scheduler configuration +* The scheduler used at runtime is defined in the scenario XML file + via the :option:`hv.FEATURES.SCHEDULER` option. The default scheduler + is **SCHED_BVT**. Use the :ref:`ACRN configuration tool ` + if you want to change this scenario option value. -* The option in Kconfig decides the only scheduler used in runtime. - ``hypervisor/arch/x86/Kconfig`` - -.. code-block:: none - - choice - prompt "ACRN Scheduler" - default SCHED_BVT - help - Select the CPU scheduler to be used by the hypervisor - - config SCHED_BVT - bool "BVT scheduler" - help - BVT (Borrowed Virtual time) is virtual time based scheduling algorithm. It - dispatches the runnable thread with the earliest effective virtual time. - TODO: BVT scheduler will be built on top of prioritized scheduling mechanism, - i.e. higher priority threads get scheduled first, and same priority tasks are - scheduled per BVT. The default scheduler is **SCHED_BVT**.