diff --git a/misc/config_tools/scenario_config/vm_configurations_h.py b/misc/config_tools/scenario_config/vm_configurations_h.py index bbb3ecfc7..5c92e9d39 100644 --- a/misc/config_tools/scenario_config/vm_configurations_h.py +++ b/misc/config_tools/scenario_config/vm_configurations_h.py @@ -82,20 +82,6 @@ def gen_header_file(scenario_items, config): gen_sos_header(scenario_items, config) -def get_dm_owned_guest_flag_mask(vm_info, config): - - print("", file=config) - if "SERVICE_VM" not in common.VM_TYPES.values(): - print("#define DM_OWNED_GUEST_FLAG_MASK 0UL", file=config) - else: - print("/* Bits mask of guest flags that can be programmed by device model." + - " Other bits are set by hypervisor only */", file=config) - print("#define DM_OWNED_GUEST_FLAG_MASK " + - "(GUEST_FLAG_SECURE_WORLD_ENABLED | GUEST_FLAG_LAPIC_PASSTHROUGH | \\\n" + - "\t\t\t\t\t\tGUEST_FLAG_RT | GUEST_FLAG_IO_COMPLETION_POLLING)", file=config) - print("", file=config) - - def generate_file(scenario_items, config): """ Start to generate vm_configurations.h @@ -108,7 +94,6 @@ def generate_file(scenario_items, config): print("#include ", file=config) print("#include ", file=config) scenario_vm_num(scenario_items, config) - get_dm_owned_guest_flag_mask(vm_info, config) gen_header_file(scenario_items, config) print("{0}".format(VM_END_DEFINE), file=config) diff --git a/misc/config_tools/xforms/vm_configurations.h.xsl b/misc/config_tools/xforms/vm_configurations.h.xsl index 7163b7a76..04900da5f 100644 --- a/misc/config_tools/xforms/vm_configurations.h.xsl +++ b/misc/config_tools/xforms/vm_configurations.h.xsl @@ -31,7 +31,6 @@ - @@ -45,19 +44,6 @@ - - - - - - - - - - - - -