From 7147979382dc6569137ee41b1f09b8e521678b60 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Tue, 28 Apr 2020 14:43:16 +0800 Subject: [PATCH] acrn-config: assign PCPU0~3 to post vm by default Assign PCPU0~3 to post-launched VM. The CPU affinity can be overridden with the '--cpu_affinity' parameter of acrn-dm. v1-v2: 1) add 3 POST_STD_VM and 1 KATA_VM to industry scenario for whl-ipc/nuc7i7dnb. v2-v3: 1) remove the MAX_KATA_VM_NUM from scecnro config. 2) add gvtd args for nuc7/nuc6 board. Tracked-On: #4641 Signed-off-by: Wei Liu Acked-by: Victor Sun --- hypervisor/arch/x86/configs/nuc7i7dnb.config | 2 +- .../scenarios/industry/vm_configurations.h | 10 +- misc/acrn-config/hv_config/hv_item.py | 3 - misc/acrn-config/library/scenario_cfg_lib.py | 4 +- .../scenario_config/scenario_cfg_gen.py | 6 - .../scenario_config/vm_configurations_h.py | 3 +- .../xmls/config-xmls/apl-mrb/hybrid.xml | 1 - .../xmls/config-xmls/apl-mrb/industry.xml | 1 - .../config-xmls/apl-mrb/logical_partition.xml | 1 - .../xmls/config-xmls/apl-mrb/sdc.xml | 5 +- .../apl-up2-n3350/logical_partition.xml | 1 - .../xmls/config-xmls/apl-up2/hybrid.xml | 1 - .../xmls/config-xmls/apl-up2/industry.xml | 1 - .../config-xmls/apl-up2/logical_partition.xml | 1 - .../xmls/config-xmls/apl-up2/sdc.xml | 5 +- .../xmls/config-xmls/generic/hybrid.xml | 1 - .../xmls/config-xmls/generic/industry.xml | 1 - .../config-xmls/generic/logical_partition.xml | 1 - .../xmls/config-xmls/generic/sdc.xml | 5 +- .../xmls/config-xmls/nuc6cayh/hybrid.xml | 1 - .../xmls/config-xmls/nuc6cayh/industry.xml | 1 - .../nuc6cayh/industry_launch_1uos_waag.xml | 2 +- .../nuc6cayh/industry_launch_2uos.xml | 2 +- .../nuc6cayh/logical_partition.xml | 1 - .../xmls/config-xmls/nuc6cayh/sdc.xml | 5 +- .../xmls/config-xmls/nuc7i7dnb/hybrid.xml | 1 - .../xmls/config-xmls/nuc7i7dnb/industry.xml | 144 +++++++++++++++++- .../nuc7i7dnb/industry_launch_1uos_waag.xml | 2 +- .../nuc7i7dnb/industry_launch_2uos.xml | 2 +- .../nuc7i7dnb/logical_partition.xml | 1 - .../xmls/config-xmls/nuc7i7dnb/sdc.xml | 5 +- .../xmls/config-xmls/template/HV.xml | 1 - .../xmls/config-xmls/tgl-rvp/industry.xml | 1 - .../xmls/config-xmls/whl-ipc-i5/hybrid.xml | 1 - .../xmls/config-xmls/whl-ipc-i5/industry.xml | 143 ++++++++++++++++- .../whl-ipc-i5/logical_partition.xml | 1 - .../xmls/config-xmls/whl-ipc-i5/sdc.xml | 5 +- .../xmls/config-xmls/whl-ipc-i7/hybrid.xml | 1 - .../xmls/config-xmls/whl-ipc-i7/industry.xml | 143 ++++++++++++++++- .../whl-ipc-i7/logical_partition.xml | 1 - .../xmls/config-xmls/whl-ipc-i7/sdc.xml | 5 +- 41 files changed, 455 insertions(+), 67 deletions(-) diff --git a/hypervisor/arch/x86/configs/nuc7i7dnb.config b/hypervisor/arch/x86/configs/nuc7i7dnb.config index 3dd57ec45..0d91ddd19 100644 --- a/hypervisor/arch/x86/configs/nuc7i7dnb.config +++ b/hypervisor/arch/x86/configs/nuc7i7dnb.config @@ -1,5 +1,5 @@ # Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) CONFIG_BOARD="nuc7i7dnb" CONFIG_SERIAL_LEGACY=y -CONFIG_HV_RAM_START=0x60000000 +CONFIG_HV_RAM_START=0x41000000 CONFIG_RDT_ENABLED=n diff --git a/hypervisor/scenarios/industry/vm_configurations.h b/hypervisor/scenarios/industry/vm_configurations.h index 2ac78200f..687120224 100644 --- a/hypervisor/scenarios/industry/vm_configurations.h +++ b/hypervisor/scenarios/industry/vm_configurations.h @@ -38,10 +38,10 @@ #define VM1_CONFIG_CPU_AFFINITY (AFFINITY_CPU(0U) | AFFINITY_CPU(1U)) #define VM2_CONFIG_CPU_AFFINITY (AFFINITY_CPU(2U) | AFFINITY_CPU(3U)) -#define VM3_CONFIG_CPU_AFFINITY (AFFINITY_CPU(1U)) -#define VM4_CONFIG_CPU_AFFINITY (AFFINITY_CPU(1U)) -#define VM5_CONFIG_CPU_AFFINITY (AFFINITY_CPU(1U)) -#define VM6_CONFIG_CPU_AFFINITY (AFFINITY_CPU(1U)) -#define VM7_CONFIG_CPU_AFFINITY (AFFINITY_CPU(1U)) +#define VM3_CONFIG_CPU_AFFINITY (AFFINITY_CPU(0U) | AFFINITY_CPU(1U)) +#define VM4_CONFIG_CPU_AFFINITY (AFFINITY_CPU(0U) | AFFINITY_CPU(1U)) +#define VM5_CONFIG_CPU_AFFINITY (AFFINITY_CPU(0U) | AFFINITY_CPU(1U)) +#define VM6_CONFIG_CPU_AFFINITY (AFFINITY_CPU(0U) | AFFINITY_CPU(1U)) +#define VM7_CONFIG_CPU_AFFINITY (AFFINITY_CPU(0U) | AFFINITY_CPU(1U)) #endif /* VM_CONFIGURATIONS_H */ diff --git a/misc/acrn-config/hv_config/hv_item.py b/misc/acrn-config/hv_config/hv_item.py index 74dbffbcb..a15cd7ec0 100644 --- a/misc/acrn-config/hv_config/hv_item.py +++ b/misc/acrn-config/hv_config/hv_item.py @@ -51,7 +51,6 @@ class CapHv: def __init__(self, hv_file): self.hv_file = hv_file - self.max_kata_vm_num = 0 self.max_emu_mmio_regions = 0 self.max_pt_irq_entries = 0 self.max_ioapic_num = 0 @@ -62,7 +61,6 @@ class CapHv: self.max_msix_table_num = 0 def get_info(self): - self.max_kata_vm_num = common.get_hv_item_tag(self.hv_file, "CAPACITIES", "MAX_KATA_VM_NUM") self.max_emu_mmio_regions = common.get_hv_item_tag(self.hv_file, "CAPACITIES", "MAX_EMULATED_MMIO") self.max_pt_irq_entries = common.get_hv_item_tag(self.hv_file, "CAPACITIES", "MAX_PT_IRQ_ENTRIES") self.max_ioapic_num = common.get_hv_item_tag(self.hv_file, "CAPACITIES", "MAX_IOAPIC_NUM") @@ -73,7 +71,6 @@ class CapHv: self.max_msix_table_num = common.get_hv_item_tag(self.hv_file, "CAPACITIES", "MAX_MSIX_TABLE_NUM") def check_item(self): - hv_cfg_lib.hv_range_check(self.max_kata_vm_num, "CAPACITIES", "MAX_KATA_VM_NUM", hv_cfg_lib.RANGE_DB['KATA_VM_NUM']) hv_cfg_lib.hv_range_check(self.max_emu_mmio_regions, "CAPACITIES", "MAX_EMULATED_MMIO", hv_cfg_lib.RANGE_DB['EMULATED_MMIO_REGIONS']) hv_cfg_lib.hv_range_check(self.max_pt_irq_entries, "CAPACITIES", "MAX_PT_IRQ_ENTRIES", hv_cfg_lib.RANGE_DB['PT_IRQ_ENTRIES']) hv_cfg_lib.hv_range_check(self.max_ioapic_num, "CAPACITIES", "MAX_IOAPIC_NUM", hv_cfg_lib.RANGE_DB['IOAPIC_NUM']) diff --git a/misc/acrn-config/library/scenario_cfg_lib.py b/misc/acrn-config/library/scenario_cfg_lib.py index 07b1a6bac..31c034574 100644 --- a/misc/acrn-config/library/scenario_cfg_lib.py +++ b/misc/acrn-config/library/scenario_cfg_lib.py @@ -126,6 +126,7 @@ def load_vm_check(load_vms, item): :param item: vm name item in xml :return: None """ + global KATA_VM_COUNT sos_vm_ids = [] pre_vm_ids = [] post_vm_ids = [] @@ -147,7 +148,7 @@ def load_vm_check(load_vms, item): if "PRE_LAUNCHED_VM" == VM_DB[load_str]['load_type']: pre_vm_ids.append(order_i) - if "POST_LAUNCHED_VM" == VM_DB[load_str]['load_type']: + if "POST_STD_VM" == load_str: post_vm_ids.append(order_i) if "KATA_VM" == load_str: @@ -156,6 +157,7 @@ def load_vm_check(load_vms, item): if "POST_RT_VM" == load_str: rt_vm_ids.append(order_i) + KATA_VM_COUNT = len(kata_vm_ids) if len(kata_vm_ids) > len(UUID_DB["KATA_VM"]): key = "vm:id={},{}".format(kata_vm_ids[0], item) ERR_LIST[key] = "KATA VM number should not be greater than {}".format(len(UUID_DB["KATA_VM"])) diff --git a/misc/acrn-config/scenario_config/scenario_cfg_gen.py b/misc/acrn-config/scenario_config/scenario_cfg_gen.py index 52c76af32..94d0728da 100755 --- a/misc/acrn-config/scenario_config/scenario_cfg_gen.py +++ b/misc/acrn-config/scenario_config/scenario_cfg_gen.py @@ -170,12 +170,6 @@ def main(args): common.print_red("Validate the scenario item failure", err=True) return err_dic - # get kata vm count - scenario_cfg_lib.KATA_VM_COUNT = int(scenario_items['hv'].cap.max_kata_vm_num) - if scenario_cfg_lib.KATA_VM_COUNT > 1: - err_dic['scenario config'] = "Only one kata vm is supported!" - return err_dic - # generate board defconfig with open(config_hv, 'w+') as config: err_dic = board_defconfig.generate_file(scenario_items['hv'], config) diff --git a/misc/acrn-config/scenario_config/vm_configurations_h.py b/misc/acrn-config/scenario_config/vm_configurations_h.py index 7cab385fe..e4c964f96 100644 --- a/misc/acrn-config/scenario_config/vm_configurations_h.py +++ b/misc/acrn-config/scenario_config/vm_configurations_h.py @@ -59,11 +59,10 @@ def clos_config_output(vm_info, i, config): def scenario_vm_num(scenario_items, config): load_type_cnt = scenario_items['vm'].load_order_cnt - kata_vm_num = scenario_items['hv'].cap.max_kata_vm_num print("#define PRE_VM_NUM\t\t{}U".format(load_type_cnt.pre_vm), file=config) print("#define SOS_VM_NUM\t\t{}U".format(load_type_cnt.sos_vm), file=config) print("#define MAX_POST_VM_NUM\t\t{}U".format(load_type_cnt.post_vm), file=config) - print("#define CONFIG_MAX_KATA_VM_NUM\t\t{}U".format(kata_vm_num), file=config) + print("#define CONFIG_MAX_KATA_VM_NUM\t\t{}U".format(scenario_cfg_lib.KATA_VM_COUNT), file=config) def gen_pre_launch_vm(vm_info, config): diff --git a/misc/acrn-config/xmls/config-xmls/apl-mrb/hybrid.xml b/misc/acrn-config/xmls/config-xmls/apl-mrb/hybrid.xml index 22e5b452f..34618ee83 100644 --- a/misc/acrn-config/xmls/config-xmls/apl-mrb/hybrid.xml +++ b/misc/acrn-config/xmls/config-xmls/apl-mrb/hybrid.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/apl-mrb/industry.xml b/misc/acrn-config/xmls/config-xmls/apl-mrb/industry.xml index 6a6e88d45..5369bf3c1 100644 --- a/misc/acrn-config/xmls/config-xmls/apl-mrb/industry.xml +++ b/misc/acrn-config/xmls/config-xmls/apl-mrb/industry.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/apl-mrb/logical_partition.xml b/misc/acrn-config/xmls/config-xmls/apl-mrb/logical_partition.xml index f41d900ca..dc8f41a0e 100644 --- a/misc/acrn-config/xmls/config-xmls/apl-mrb/logical_partition.xml +++ b/misc/acrn-config/xmls/config-xmls/apl-mrb/logical_partition.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/apl-mrb/sdc.xml b/misc/acrn-config/xmls/config-xmls/apl-mrb/sdc.xml index 970e73780..81f511013 100644 --- a/misc/acrn-config/xmls/config-xmls/apl-mrb/sdc.xml +++ b/misc/acrn-config/xmls/config-xmls/apl-mrb/sdc.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 1 96 120 64 @@ -138,12 +137,12 @@ VUART_LEGACY_PIO INVALID_COM_BASE - COM1_BASE + COM1_IRQ VUART_LEGACY_PIO INVALID_COM_BASE - COM2_BASE + COM2_IRQ 0 0 diff --git a/misc/acrn-config/xmls/config-xmls/apl-up2-n3350/logical_partition.xml b/misc/acrn-config/xmls/config-xmls/apl-up2-n3350/logical_partition.xml index 1ed8ecaf1..27a9c84c5 100644 --- a/misc/acrn-config/xmls/config-xmls/apl-up2-n3350/logical_partition.xml +++ b/misc/acrn-config/xmls/config-xmls/apl-up2-n3350/logical_partition.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/apl-up2/hybrid.xml b/misc/acrn-config/xmls/config-xmls/apl-up2/hybrid.xml index 43e674d1a..428c40433 100644 --- a/misc/acrn-config/xmls/config-xmls/apl-up2/hybrid.xml +++ b/misc/acrn-config/xmls/config-xmls/apl-up2/hybrid.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/apl-up2/industry.xml b/misc/acrn-config/xmls/config-xmls/apl-up2/industry.xml index f1481509a..dcd29b9a0 100644 --- a/misc/acrn-config/xmls/config-xmls/apl-up2/industry.xml +++ b/misc/acrn-config/xmls/config-xmls/apl-up2/industry.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/apl-up2/logical_partition.xml b/misc/acrn-config/xmls/config-xmls/apl-up2/logical_partition.xml index d80cb2095..7ad615d6f 100644 --- a/misc/acrn-config/xmls/config-xmls/apl-up2/logical_partition.xml +++ b/misc/acrn-config/xmls/config-xmls/apl-up2/logical_partition.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/apl-up2/sdc.xml b/misc/acrn-config/xmls/config-xmls/apl-up2/sdc.xml index 996a9491c..aca5426c6 100644 --- a/misc/acrn-config/xmls/config-xmls/apl-up2/sdc.xml +++ b/misc/acrn-config/xmls/config-xmls/apl-up2/sdc.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 1 96 120 64 @@ -138,12 +137,12 @@ VUART_LEGACY_PIO INVALID_COM_BASE - COM1_BASE + COM1_IRQ VUART_LEGACY_PIO INVALID_COM_BASE - COM2_BASE + COM2_IRQ 0 0 diff --git a/misc/acrn-config/xmls/config-xmls/generic/hybrid.xml b/misc/acrn-config/xmls/config-xmls/generic/hybrid.xml index 5c2d91c53..022f02e52 100644 --- a/misc/acrn-config/xmls/config-xmls/generic/hybrid.xml +++ b/misc/acrn-config/xmls/config-xmls/generic/hybrid.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/generic/industry.xml b/misc/acrn-config/xmls/config-xmls/generic/industry.xml index 2aa2c1f46..536009c7a 100644 --- a/misc/acrn-config/xmls/config-xmls/generic/industry.xml +++ b/misc/acrn-config/xmls/config-xmls/generic/industry.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/generic/logical_partition.xml b/misc/acrn-config/xmls/config-xmls/generic/logical_partition.xml index b9eb1a4ec..468674390 100644 --- a/misc/acrn-config/xmls/config-xmls/generic/logical_partition.xml +++ b/misc/acrn-config/xmls/config-xmls/generic/logical_partition.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/generic/sdc.xml b/misc/acrn-config/xmls/config-xmls/generic/sdc.xml index ac1507572..f55c15cc4 100644 --- a/misc/acrn-config/xmls/config-xmls/generic/sdc.xml +++ b/misc/acrn-config/xmls/config-xmls/generic/sdc.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 @@ -135,12 +134,12 @@ VUART_LEGACY_PIO INVALID_COM_BASE - COM1_BASE + COM1_IRQ VUART_LEGACY_PIO INVALID_COM_BASE - COM2_BASE + COM2_IRQ 0 0 diff --git a/misc/acrn-config/xmls/config-xmls/nuc6cayh/hybrid.xml b/misc/acrn-config/xmls/config-xmls/nuc6cayh/hybrid.xml index 1cd665679..1fdd7c2e4 100644 --- a/misc/acrn-config/xmls/config-xmls/nuc6cayh/hybrid.xml +++ b/misc/acrn-config/xmls/config-xmls/nuc6cayh/hybrid.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/nuc6cayh/industry.xml b/misc/acrn-config/xmls/config-xmls/nuc6cayh/industry.xml index af2d425b1..458f0a8ee 100644 --- a/misc/acrn-config/xmls/config-xmls/nuc6cayh/industry.xml +++ b/misc/acrn-config/xmls/config-xmls/nuc6cayh/industry.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/nuc6cayh/industry_launch_1uos_waag.xml b/misc/acrn-config/xmls/config-xmls/nuc6cayh/industry_launch_1uos_waag.xml index 574e07446..a4a5c90fe 100644 --- a/misc/acrn-config/xmls/config-xmls/nuc6cayh/industry_launch_1uos_waag.xml +++ b/misc/acrn-config/xmls/config-xmls/nuc6cayh/industry_launch_1uos_waag.xml @@ -3,7 +3,7 @@ WINDOWS no 4096 - 64 448 8 + gvtd ovmf Enable diff --git a/misc/acrn-config/xmls/config-xmls/nuc6cayh/industry_launch_2uos.xml b/misc/acrn-config/xmls/config-xmls/nuc6cayh/industry_launch_2uos.xml index 53f3aa8b5..5ea0cb38e 100644 --- a/misc/acrn-config/xmls/config-xmls/nuc6cayh/industry_launch_2uos.xml +++ b/misc/acrn-config/xmls/config-xmls/nuc6cayh/industry_launch_2uos.xml @@ -3,7 +3,7 @@ WINDOWS no 4096 - 64 448 8 + gvtd ovmf Enable diff --git a/misc/acrn-config/xmls/config-xmls/nuc6cayh/logical_partition.xml b/misc/acrn-config/xmls/config-xmls/nuc6cayh/logical_partition.xml index 8d9a47275..af356bab3 100644 --- a/misc/acrn-config/xmls/config-xmls/nuc6cayh/logical_partition.xml +++ b/misc/acrn-config/xmls/config-xmls/nuc6cayh/logical_partition.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/nuc6cayh/sdc.xml b/misc/acrn-config/xmls/config-xmls/nuc6cayh/sdc.xml index 7fbd689f0..beaa905b0 100644 --- a/misc/acrn-config/xmls/config-xmls/nuc6cayh/sdc.xml +++ b/misc/acrn-config/xmls/config-xmls/nuc6cayh/sdc.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 1 96 120 64 @@ -138,12 +137,12 @@ VUART_LEGACY_PIO INVALID_COM_BASE - COM1_BASE + COM1_IRQ VUART_LEGACY_PIO INVALID_COM_BASE - COM2_BASE + COM2_IRQ 0 0 diff --git a/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/hybrid.xml b/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/hybrid.xml index 6b91cb738..0c45d816b 100644 --- a/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/hybrid.xml +++ b/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/hybrid.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/industry.xml b/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/industry.xml index 2f2589a6e..26bec5534 100644 --- a/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/industry.xml +++ b/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/industry.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 @@ -99,6 +98,7 @@ 0 + 0 1 @@ -150,4 +150,146 @@ 1 + + POST_STD_VM + + 0 + + + 0 + 1 + + + 0 + + + 0 + 0 + + + VUART_LEGACY_PIO + COM1_BASE + COM1_IRQ + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM2_IRQ + 0 + 1 + + + + POST_STD_VM + + 0 + + + 0 + 1 + + + 0 + + + 0 + 0 + + + VUART_LEGACY_PIO + COM1_BASE + COM1_IRQ + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM2_IRQ + 0 + 1 + + + + POST_STD_VM + + 0 + + + 0 + 1 + + + 0 + + + 0 + 0 + + + VUART_LEGACY_PIO + COM1_BASE + COM1_IRQ + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM2_IRQ + 0 + 1 + + + + POST_STD_VM + + 0 + + + 0 + 1 + + + 0 + + + 0 + 0 + + + VUART_LEGACY_PIO + COM1_BASE + COM1_IRQ + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM2_IRQ + 0 + 1 + + + + KATA_VM + + 0 + + + 0 + 1 + + + 0 + 0 + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM1_IRQ + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM2_IRQ + 0 + 0 + + diff --git a/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/industry_launch_1uos_waag.xml b/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/industry_launch_1uos_waag.xml index c5d0e357b..df22f3a5d 100644 --- a/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/industry_launch_1uos_waag.xml +++ b/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/industry_launch_1uos_waag.xml @@ -3,7 +3,7 @@ WINDOWS no 4096 - 64 448 8 + gvtd ovmf Enable diff --git a/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/industry_launch_2uos.xml b/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/industry_launch_2uos.xml index 7506f696f..083dfcfad 100644 --- a/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/industry_launch_2uos.xml +++ b/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/industry_launch_2uos.xml @@ -3,7 +3,7 @@ WINDOWS no 4096 - 64 448 8 + gvtd ovmf Enable diff --git a/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/logical_partition.xml b/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/logical_partition.xml index ee9a03bf1..625b75450 100644 --- a/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/logical_partition.xml +++ b/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/logical_partition.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/sdc.xml b/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/sdc.xml index 5b5a647b8..8dd60018e 100644 --- a/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/sdc.xml +++ b/misc/acrn-config/xmls/config-xmls/nuc7i7dnb/sdc.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 1 96 120 64 @@ -137,12 +136,12 @@ VUART_LEGACY_PIO INVALID_COM_BASE - COM1_BASE + COM1_IRQ VUART_LEGACY_PIO INVALID_COM_BASE - COM2_BASE + COM2_IRQ 0 0 diff --git a/misc/acrn-config/xmls/config-xmls/template/HV.xml b/misc/acrn-config/xmls/config-xmls/template/HV.xml index cfa001a32..d88d741a1 100644 --- a/misc/acrn-config/xmls/config-xmls/template/HV.xml +++ b/misc/acrn-config/xmls/config-xmls/template/HV.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/tgl-rvp/industry.xml b/misc/acrn-config/xmls/config-xmls/tgl-rvp/industry.xml index f9fb4061a..7e3d04b2d 100644 --- a/misc/acrn-config/xmls/config-xmls/tgl-rvp/industry.xml +++ b/misc/acrn-config/xmls/config-xmls/tgl-rvp/industry.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/whl-ipc-i5/hybrid.xml b/misc/acrn-config/xmls/config-xmls/whl-ipc-i5/hybrid.xml index 349b23dfa..99db2a6ea 100644 --- a/misc/acrn-config/xmls/config-xmls/whl-ipc-i5/hybrid.xml +++ b/misc/acrn-config/xmls/config-xmls/whl-ipc-i5/hybrid.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/whl-ipc-i5/industry.xml b/misc/acrn-config/xmls/config-xmls/whl-ipc-i5/industry.xml index 4996dc5e6..8181b0192 100644 --- a/misc/acrn-config/xmls/config-xmls/whl-ipc-i5/industry.xml +++ b/misc/acrn-config/xmls/config-xmls/whl-ipc-i5/industry.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 @@ -151,4 +150,146 @@ 1 + + POST_STD_VM + + 0 + + + 0 + 1 + + + 0 + + + 0 + 0 + + + VUART_LEGACY_PIO + COM1_BASE + COM1_IRQ + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM2_IRQ + 0 + 1 + + + + POST_STD_VM + + 0 + + + 0 + 1 + + + 0 + + + 0 + 0 + + + VUART_LEGACY_PIO + COM1_BASE + COM1_IRQ + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM2_IRQ + 0 + 1 + + + + POST_STD_VM + + 0 + + + 0 + 1 + + + 0 + + + 0 + 0 + + + VUART_LEGACY_PIO + COM1_BASE + COM1_IRQ + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM2_IRQ + 0 + 1 + + + + POST_STD_VM + + 0 + + + 0 + 1 + + + 0 + + + 0 + 0 + + + VUART_LEGACY_PIO + COM1_BASE + COM1_IRQ + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM2_IRQ + 0 + 1 + + + + KATA_VM + + 0 + + + 0 + 1 + + + 0 + 0 + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM1_IRQ + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM2_IRQ + 0 + 0 + + diff --git a/misc/acrn-config/xmls/config-xmls/whl-ipc-i5/logical_partition.xml b/misc/acrn-config/xmls/config-xmls/whl-ipc-i5/logical_partition.xml index 7c693312c..d3447b03c 100644 --- a/misc/acrn-config/xmls/config-xmls/whl-ipc-i5/logical_partition.xml +++ b/misc/acrn-config/xmls/config-xmls/whl-ipc-i5/logical_partition.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/whl-ipc-i5/sdc.xml b/misc/acrn-config/xmls/config-xmls/whl-ipc-i5/sdc.xml index 31f8bcd7e..76e3c7bca 100644 --- a/misc/acrn-config/xmls/config-xmls/whl-ipc-i5/sdc.xml +++ b/misc/acrn-config/xmls/config-xmls/whl-ipc-i5/sdc.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 1 96 120 64 @@ -137,12 +136,12 @@ VUART_LEGACY_PIO INVALID_COM_BASE - COM1_BASE + COM1_IRQ VUART_LEGACY_PIO INVALID_COM_BASE - COM2_BASE + COM2_IRQ 0 0 diff --git a/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/hybrid.xml b/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/hybrid.xml index dac3fbc1e..e91fd19e7 100644 --- a/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/hybrid.xml +++ b/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/hybrid.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/industry.xml b/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/industry.xml index d52e46adf..1b5417cc6 100644 --- a/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/industry.xml +++ b/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/industry.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 @@ -151,4 +150,146 @@ 1 + + POST_STD_VM + + 0 + + + 0 + 1 + + + 0 + + + 0 + 0 + + + VUART_LEGACY_PIO + COM1_BASE + COM1_IRQ + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM2_IRQ + 0 + 1 + + + + POST_STD_VM + + 0 + + + 0 + 1 + + + 0 + + + 0 + 0 + + + VUART_LEGACY_PIO + COM1_BASE + COM1_IRQ + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM2_IRQ + 0 + 1 + + + + POST_STD_VM + + 0 + + + 0 + 1 + + + 0 + + + 0 + 0 + + + VUART_LEGACY_PIO + COM1_BASE + COM1_IRQ + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM2_IRQ + 0 + 1 + + + + POST_STD_VM + + 0 + + + 0 + 1 + + + 0 + + + 0 + 0 + + + VUART_LEGACY_PIO + COM1_BASE + COM1_IRQ + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM2_IRQ + 0 + 1 + + + + KATA_VM + + 0 + + + 0 + 1 + + + 0 + 0 + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM1_IRQ + + + VUART_LEGACY_PIO + INVALID_COM_BASE + COM2_IRQ + 0 + 0 + + diff --git a/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/logical_partition.xml b/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/logical_partition.xml index de8e185c5..ac011c2b4 100644 --- a/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/logical_partition.xml +++ b/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/logical_partition.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 0 96 120 64 diff --git a/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/sdc.xml b/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/sdc.xml index 98a984911..1af6b189a 100644 --- a/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/sdc.xml +++ b/misc/acrn-config/xmls/config-xmls/whl-ipc-i7/sdc.xml @@ -35,7 +35,6 @@ 0x100 256 1 - 1 96 120 64 @@ -137,12 +136,12 @@ VUART_LEGACY_PIO INVALID_COM_BASE - COM1_BASE + COM1_IRQ VUART_LEGACY_PIO INVALID_COM_BASE - COM2_BASE + COM2_IRQ 0 0