HV: Kconfig: set default Kata num to 1 in SDC

Set default CONFIG_KATA_VM_NUM to 1 in SDC scenario so that user could
have a try on Kata container without rebuilding hypervisor.

Please be aware that vcpu affinity of VM1 in CPU partition mode
would be impacted by this patch.

Tracked-On: #4232

Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Victor Sun
2019-12-09 12:55:42 +08:00
committed by wenlingz
parent 98b3dd9426
commit 64bbd37fd7
2 changed files with 5 additions and 1 deletions

View File

@@ -308,7 +308,8 @@ config L1D_FLUSH_VMENTRY_ENABLED
config MAX_KATA_VM_NUM
int "Maximum number of Kata Containers in SOS"
range 0 1
default 0
default 1 if SDC
default 0 if !SDC
config UEFI_OS_LOADER_NAME
string "UEFI OS loader name"