File tree Expand file tree Collapse file tree 7 files changed +5
-11
lines changed Expand file tree Collapse file tree 7 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -160,11 +160,6 @@ hypervisor:
160
160
fi
161
161
$(MAKE ) -C $(T ) /hypervisor HV_OBJDIR=$(HV_OUT ) BOARD_FILE=$(BOARD_FILE ) SCENARIO_FILE=$(SCENARIO_FILE ) clean;
162
162
$(MAKE ) -C $(T ) /hypervisor HV_OBJDIR=$(HV_OUT ) BOARD_FILE=$(BOARD_FILE ) SCENARIO_FILE=$(SCENARIO_FILE ) TARGET_DIR=$(abspath $(TARGET_DIR ) ) defconfig;
163
- @if [ " $( CONFIG_XML_ENABLED) " != " true" ] && [ ! -f $( KCONFIG_FILE) ]; then \
164
- if [ " $( SCENARIO) " != " sdc" ]; then \
165
- echo " CONFIG_MAX_KATA_VM_NUM=0" >> $(HV_OUT ) /.config; \
166
- fi ; \
167
- fi ; \
168
163
$(MAKE ) -C $(T ) /hypervisor HV_OBJDIR=$(HV_OUT ) BOARD_FILE=$(BOARD_FILE ) SCENARIO_FILE=$(SCENARIO_FILE ) TARGET_DIR=$(abspath $(TARGET_DIR ) ) oldconfig;
169
164
$(MAKE ) -C $(T ) /hypervisor HV_OBJDIR=$(HV_OUT ) BOARD_FILE=$(BOARD_FILE ) SCENARIO_FILE=$(SCENARIO_FILE ) TARGET_DIR=$(abspath $(TARGET_DIR ) )
170
165
# ifeq ($(FIRMWARE),uefi)
Original file line number Diff line number Diff line change @@ -313,12 +313,6 @@ config L1D_FLUSH_VMENTRY_ENABLED
313
313
bool "Enable L1 cache flush before VM entry"
314
314
default n
315
315
316
- config MAX_KATA_VM_NUM
317
- int "Maximum number of Kata Containers in SOS"
318
- range 0 1
319
- default 1 if SDC
320
- default 0 if !SDC
321
-
322
316
config UEFI_OS_LOADER_NAME
323
317
string "UEFI OS loader name"
324
318
default "\\EFI\\org.clearlinux\\bootloaderx64.efi"
Original file line number Diff line number Diff line change 20
20
#define PRE_VM_NUM 1U
21
21
#define SOS_VM_NUM 1U
22
22
#define MAX_POST_VM_NUM 1U
23
+ #define CONFIG_MAX_KATA_VM_NUM 0U
23
24
24
25
#define VM0_CONFIG_VCPU_AFFINITY {AFFINITY_CPU(3U)}
25
26
#define VM0_CONFIG_MEM_START_HPA 0x100000000UL
Original file line number Diff line number Diff line change 16
16
#define PRE_VM_NUM 0U
17
17
#define SOS_VM_NUM 1U
18
18
#define MAX_POST_VM_NUM 2U
19
+ #define CONFIG_MAX_KATA_VM_NUM 0U
19
20
20
21
/* Bits mask of guest flags that can be programmed by device model. Other bits are set by hypervisor only */
21
22
#define DM_OWNED_GUEST_FLAG_MASK (GUEST_FLAG_SECURE_WORLD_ENABLED | GUEST_FLAG_LAPIC_PASSTHROUGH | \
Original file line number Diff line number Diff line change 20
20
#define PRE_VM_NUM 2U
21
21
#define SOS_VM_NUM 0U
22
22
#define MAX_POST_VM_NUM 0U
23
+ #define CONFIG_MAX_KATA_VM_NUM 0U
23
24
24
25
/* The VM CONFIGs like:
25
26
* VMX_CONFIG_VCPU_AFFINITY
Original file line number Diff line number Diff line change 16
16
#define PRE_VM_NUM 0U
17
17
#define SOS_VM_NUM 1U
18
18
#define MAX_POST_VM_NUM 2U /* including 1 KATA VM */
19
+ #define CONFIG_MAX_KATA_VM_NUM 1U
19
20
20
21
/* Bits mask of guest flags that can be programmed by device model. Other bits are set by hypervisor only */
21
22
#define DM_OWNED_GUEST_FLAG_MASK (GUEST_FLAG_SECURE_WORLD_ENABLED | GUEST_FLAG_LAPIC_PASSTHROUGH | \
Original file line number Diff line number Diff line change 16
16
#define PRE_VM_NUM 0U
17
17
#define SOS_VM_NUM 1U
18
18
#define MAX_POST_VM_NUM 3U
19
+ #define CONFIG_MAX_KATA_VM_NUM 0U
19
20
20
21
/* Bits mask of guest flags that can be programmed by device model. Other bits are set by hypervisor only */
21
22
#define DM_OWNED_GUEST_FLAG_MASK (GUEST_FLAG_SECURE_WORLD_ENABLED | GUEST_FLAG_LAPIC_PASSTHROUGH | \
You can’t perform that action at this time.
0 commit comments