mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 02:08:04 +00:00
HV: refine usage of idle=halt in sos cmdline
The parameter of "idle=halt" for SOS cmdline is only needed when cpu sharing is enabled, otherwise it will impact SOS power. Tracked-On: #4329 Signed-off-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
@@ -23,6 +23,12 @@
|
||||
#define MAX_VM_OS_NAME_LEN 32U
|
||||
#define MAX_MOD_TAG_LEN 32U
|
||||
|
||||
#ifdef CONFIG_SCHED_NOOP
|
||||
#define SOS_IDLE ""
|
||||
#else
|
||||
#define SOS_IDLE "idle=halt "
|
||||
#endif
|
||||
|
||||
#define PCI_DEV_TYPE_PTDEV (1U << 0U)
|
||||
#define PCI_DEV_TYPE_HVEMUL (1U << 1U)
|
||||
#define PCI_DEV_TYPE_SOSEMUL (1U << 2U)
|
||||
|
Reference in New Issue
Block a user