[RFC PATCH v2 7/7] hv: Use HLT as the default idle action of service OS


Shuo A Liu
 

This patch overwrites the idle driver of service OS for industry, sdc,
sdc2 scenarios. HLT will be used as the default idle action.

Signed-off-by: Shuo A Liu <shuo.a.liu@...>
---
hypervisor/scenarios/industry/vm_configurations.h | 2 +-
hypervisor/scenarios/sdc/vm_configurations.h | 2 +-
hypervisor/scenarios/sdc2/vm_configurations.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/hypervisor/scenarios/industry/vm_configurations.h b/hypervisor/scenarios/industry/vm_configurations.h
index 482801a..633dab4 100644
--- a/hypervisor/scenarios/industry/vm_configurations.h
+++ b/hypervisor/scenarios/industry/vm_configurations.h
@@ -25,7 +25,7 @@
"i915.nuclear_pageflip=1 " \
"i915.avail_planes_per_pipe=0x01010F " \
"i915.domain_plane_owners=0x011111110000 " \
- "i915.enable_gvt=1 " \
+ "i915.enable_gvt=1 idle=halt " \
SOS_BOOTARGS_DIFF

#define VM1_CONFIG_VCPU_AFFINITY {AFFINITY_CPU(1U)}
diff --git a/hypervisor/scenarios/sdc/vm_configurations.h b/hypervisor/scenarios/sdc/vm_configurations.h
index 436e931..2814259 100644
--- a/hypervisor/scenarios/sdc/vm_configurations.h
+++ b/hypervisor/scenarios/sdc/vm_configurations.h
@@ -25,7 +25,7 @@
"i915.nuclear_pageflip=1 " \
"i915.avail_planes_per_pipe=0x01010F " \
"i915.domain_plane_owners=0x011111110000 " \
- "i915.enable_gvt=1 " \
+ "i915.enable_gvt=1 idle=halt " \
SOS_BOOTARGS_DIFF

#if CONFIG_MAX_KATA_VM_NUM > 0
diff --git a/hypervisor/scenarios/sdc2/vm_configurations.h b/hypervisor/scenarios/sdc2/vm_configurations.h
index 96e069d..5701a41 100644
--- a/hypervisor/scenarios/sdc2/vm_configurations.h
+++ b/hypervisor/scenarios/sdc2/vm_configurations.h
@@ -25,7 +25,7 @@
"i915.nuclear_pageflip=1 " \
"i915.avail_planes_per_pipe=0x01010F " \
"i915.domain_plane_owners=0x011111110000 " \
- "i915.enable_gvt=1 " \
+ "i915.enable_gvt=1 idle=halt " \
SOS_BOOTARGS_DIFF

#define VM1_CONFIG_VCPU_AFFINITY {AFFINITY_CPU(1U)}
--
2.8.3

Join acrn-dev@lists.projectacrn.org to automatically receive all group messages.