diff --git a/misc/acrn-config/config_app/templates/launch.html b/misc/acrn-config/config_app/templates/launch.html index 1ddf101d9..cfed5775b 100644 --- a/misc/acrn-config/config_app/templates/launch.html +++ b/misc/acrn-config/config_app/templates/launch.html @@ -228,7 +228,7 @@ the launch scripts will be generated into misc/acrn-config/xmls/config-xmls/[boa {{sub_elem.tag}} {% if ','.join(['uos', elem.tag, sub_elem.tag]) not in launch_item_values - and elem.tag != 'vcpu_affinity'%} + and elem.tag != 'cpu_affinity'%}
{% if 'readonly' in sub_elem.attrib and sub_elem.attrib['readonly'] == 'true' %} {% if 'readonly' in sub_elem.attrib and sub_elem.attrib['readonly'] == 'true' %} @@ -273,7 +273,7 @@ the launch scripts will be generated into misc/acrn-config/xmls/config-xmls/[boa {% endif %} {% endfor %} - {% if elem.tag == 'vcpu_affinity' %} + {% if elem.tag == 'cpu_affinity' %} {% if not first_child %} @@ -393,4 +393,4 @@ the launch scripts will be generated into misc/acrn-config/xmls/config-xmls/[boa {% endif %} -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/misc/acrn-config/config_app/templates/scenario.html b/misc/acrn-config/config_app/templates/scenario.html index 2a4fbedfb..2608b6521 100644 --- a/misc/acrn-config/config_app/templates/scenario.html +++ b/misc/acrn-config/config_app/templates/scenario.html @@ -227,7 +227,7 @@ the source files will be generated into default path and overwirte the previous {{sub_elem.tag}} {% if ','.join([vm.tag, elem.tag, sub_elem.tag]) not in scenario_item_values - and elem.tag != 'vcpu_affinity' and elem.tag != 'pci_devs' %} + and elem.tag != 'cpu_affinity' and elem.tag != 'pci_devs' %} {% if sub_elem.tag in ['bootargs', 'kern_args'] %}
{% if 'readonly' in sub_elem.attrib and sub_elem.attrib['readonly'] == 'true' %} @@ -253,7 +253,7 @@ the source files will be generated into default path and overwirte the previous
{% endif %} {% else %} - {% set item_key = ','.join([vm.tag, elem.tag, sub_elem.tag]) if elem.tag != 'vcpu_affinity' + {% set item_key = ','.join([vm.tag, elem.tag, sub_elem.tag]) if elem.tag != 'cpu_affinity' and elem.tag != 'pci_devs' else ','.join([vm.tag, elem.tag]) %}