mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-10-08 18:25:05 +00:00
config_tools: fix the issue that doesn't offline CPU in SCHED_NOOP mode
Fix the issue that doesn't offline CPU in SCHED_NOOP mode. Tracked-On: #7172 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
@@ -90,7 +90,7 @@ function add_cpus() {
|
||||
# Each parameter of this function is considered the processor ID (as is reported in /proc/cpuinfo) of a CPU assigned
|
||||
# to a post-launched RTVM.
|
||||
|
||||
if [ "${rtos_type}" != "no" ]; then
|
||||
if [ "${rtos_type}" != "no" ] || [ "${scheduler}" = "SCHED_NOOP" ]; then
|
||||
offline_cpus $*
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user