Skip to content

Commit 6f7081f

Browse files
jsun26intelwenlingz
authored andcommitted
acrn-config: remove vm3 for industry scenario
The VM2 of INDUSTRY scenario need 2 vCPUs for performance, so there would be no available pCPU for VM3, need to remove VM3 for this scenario. Tracked-On: #3925 Signed-off-by: Victor Sun <victor.sun@intel.com>
1 parent 9143e56 commit 6f7081f

File tree

8 files changed

+5
-383
lines changed

8 files changed

+5
-383
lines changed

misc/acrn-config/xmls/config-xmls/apl-mrb/industry.xml

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -77,32 +77,6 @@
7777
</guest_flags>
7878
<vcpu_affinity desc="vCPU affinity map. Each vCPU will pin to the selected pCPU ID. Please make sure each vCPU pin to different pCPU.">
7979
<pcpu_id>2</pcpu_id>
80-
</vcpu_affinity>
81-
<clos desc="Class of Service for Cache Allocation Technology. Please refer SDM 17.19.2 for details and use with caution.">0</clos>
82-
<epc_section desc="epc section">
83-
<base desc="SGX EPC section base, must be page aligned">0</base>
84-
<size desc="SGX EPC section size in Bytes, must be page aligned">0</size>
85-
</epc_section>
86-
<vuart id="0">
87-
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
88-
<base desc="vUART0 (A.K.A COM1) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">COM1_BASE</base>
89-
<irq configurable="0" desc="vCOM1 irq">COM1_IRQ</irq>
90-
</vuart>
91-
<vuart id="1">
92-
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
93-
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">COM2_BASE</base>
94-
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
95-
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to.">0</target_vm_id>
96-
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
97-
</vuart>
98-
</vm>
99-
<vm id="3">
100-
<load_order desc="Specify the VM by its load order: PRE_LAUNCHED_VM, SOS_VM or POST_LAUNCHED_VM." readonly="true">POST_LAUNCHED_VM</load_order>
101-
<uuid configurable="0" desc="vm uuid">38158821-5208-4005-b72a-8a609e4190d0</uuid>
102-
<guest_flags desc="Select all applicable flags for the VM" multiselect="true">
103-
<guest_flag>0</guest_flag>
104-
</guest_flags>
105-
<vcpu_affinity desc="vCPU affinity map. Each vCPU will pin to the selected pCPU ID. Please make sure each vCPU pin to different pCPU.">
10680
<pcpu_id>3</pcpu_id>
10781
</vcpu_affinity>
10882
<clos desc="Class of Service for Cache Allocation Technology. Please refer SDM 17.19.2 for details and use with caution.">0</clos>
@@ -117,7 +91,7 @@
11791
</vuart>
11892
<vuart id="1">
11993
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
120-
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
94+
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">COM2_BASE</base>
12195
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
12296
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to.">0</target_vm_id>
12397
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>

misc/acrn-config/xmls/config-xmls/apl-up2/industry.xml

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -77,32 +77,6 @@
7777
</guest_flags>
7878
<vcpu_affinity desc="vCPU affinity map. Each vCPU will pin to the selected pCPU ID. Please make sure each vCPU pin to different pCPU.">
7979
<pcpu_id>2</pcpu_id>
80-
</vcpu_affinity>
81-
<clos desc="Class of Service for Cache Allocation Technology. Please refer SDM 17.19.2 for details and use with caution.">0</clos>
82-
<epc_section desc="epc section">
83-
<base desc="SGX EPC section base, must be page aligned">0</base>
84-
<size desc="SGX EPC section size in Bytes, must be page aligned">0</size>
85-
</epc_section>
86-
<vuart id="0">
87-
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
88-
<base desc="vUART0 (A.K.A COM1) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">COM1_BASE</base>
89-
<irq configurable="0" desc="vCOM1 irq">COM1_IRQ</irq>
90-
</vuart>
91-
<vuart id="1">
92-
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
93-
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">COM2_BASE</base>
94-
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
95-
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to.">0</target_vm_id>
96-
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
97-
</vuart>
98-
</vm>
99-
<vm id="3">
100-
<load_order desc="Specify the VM by its load order: PRE_LAUNCHED_VM, SOS_VM or POST_LAUNCHED_VM." readonly="true">POST_LAUNCHED_VM</load_order>
101-
<uuid configurable="0" desc="vm uuid">38158821-5208-4005-b72a-8a609e4190d0</uuid>
102-
<guest_flags desc="Select all applicable flags for the VM" multiselect="true">
103-
<guest_flag>0</guest_flag>
104-
</guest_flags>
105-
<vcpu_affinity desc="vCPU affinity map. Each vCPU will pin to the selected pCPU ID. Please make sure each vCPU pin to different pCPU.">
10680
<pcpu_id>3</pcpu_id>
10781
</vcpu_affinity>
10882
<clos desc="Class of Service for Cache Allocation Technology. Please refer SDM 17.19.2 for details and use with caution.">0</clos>
@@ -117,7 +91,7 @@
11791
</vuart>
11892
<vuart id="1">
11993
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
120-
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
94+
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">COM2_BASE</base>
12195
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
12296
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to.">0</target_vm_id>
12397
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>

misc/acrn-config/xmls/config-xmls/generic/industry.xml

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -75,32 +75,6 @@
7575
</guest_flags>
7676
<vcpu_affinity desc="vCPU affinity map. Each vCPU will pin to the selected pCPU ID. Please make sure each vCPU pin to different pCPU.">
7777
<pcpu_id>2</pcpu_id>
78-
</vcpu_affinity>
79-
<clos desc="Class of Service for Cache Allocation Technology. Please refer SDM 17.19.2 for details and use with caution.">0</clos>
80-
<epc_section desc="epc section">
81-
<base desc="SGX EPC section base, must be page aligned">0</base>
82-
<size desc="SGX EPC section size in Bytes, must be page aligned">0</size>
83-
</epc_section>
84-
<vuart id="0">
85-
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
86-
<base desc="vUART0 (A.K.A COM1) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">COM1_BASE</base>
87-
<irq configurable="0" desc="vCOM1 irq">COM1_IRQ</irq>
88-
</vuart>
89-
<vuart id="1">
90-
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
91-
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">COM2_BASE</base>
92-
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
93-
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to.">0</target_vm_id>
94-
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
95-
</vuart>
96-
</vm>
97-
<vm id="3">
98-
<load_order desc="Specify the VM by its load order: PRE_LAUNCHED_VM, SOS_VM or POST_LAUNCHED_VM." readonly="true">POST_LAUNCHED_VM</load_order>
99-
<uuid configurable="0" desc="vm uuid">38158821-5208-4005-b72a-8a609e4190d0</uuid>
100-
<guest_flags desc="Select all applicable flags for the VM" multiselect="true">
101-
<guest_flag>0</guest_flag>
102-
</guest_flags>
103-
<vcpu_affinity desc="vCPU affinity map. Each vCPU will pin to the selected pCPU ID. Please make sure each vCPU pin to different pCPU.">
10478
<pcpu_id>3</pcpu_id>
10579
</vcpu_affinity>
10680
<clos desc="Class of Service for Cache Allocation Technology. Please refer SDM 17.19.2 for details and use with caution.">0</clos>
@@ -115,7 +89,7 @@
11589
</vuart>
11690
<vuart id="1">
11791
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
118-
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
92+
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">COM2_BASE</base>
11993
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
12094
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to.">0</target_vm_id>
12195
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>

misc/acrn-config/xmls/config-xmls/generic/industry_launch_3uos.xml

Lines changed: 0 additions & 86 deletions
This file was deleted.

misc/acrn-config/xmls/config-xmls/nuc6cayh/industry.xml

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -76,32 +76,6 @@
7676
</guest_flags>
7777
<vcpu_affinity desc="vCPU affinity map. Each vCPU will pin to the selected pCPU ID. Please make sure each vCPU pin to different pCPU.">
7878
<pcpu_id>2</pcpu_id>
79-
</vcpu_affinity>
80-
<clos desc="Class of Service for Cache Allocation Technology. Please refer SDM 17.19.2 for details and use with caution.">0</clos>
81-
<epc_section desc="epc section">
82-
<base desc="SGX EPC section base, must be page aligned">0</base>
83-
<size desc="SGX EPC section size in Bytes, must be page aligned">0</size>
84-
</epc_section>
85-
<vuart id="0">
86-
<type configurable="0" desc="vCOM1 type">VUART_LEGACY_PIO</type>
87-
<base desc="vUART0 (A.K.A COM1) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">COM1_BASE</base>
88-
<irq configurable="0" desc="vCOM1 irq">COM1_IRQ</irq>
89-
</vuart>
90-
<vuart id="1">
91-
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
92-
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">COM2_BASE</base>
93-
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
94-
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to.">0</target_vm_id>
95-
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>
96-
</vuart>
97-
</vm>
98-
<vm id="3">
99-
<load_order desc="Specify the VM by its load order: PRE_LAUNCHED_VM, SOS_VM or POST_LAUNCHED_VM." readonly="true">POST_LAUNCHED_VM</load_order>
100-
<uuid configurable="0" desc="vm uuid">38158821-5208-4005-b72a-8a609e4190d0</uuid>
101-
<guest_flags desc="Select all applicable flags for the VM" multiselect="true">
102-
<guest_flag>0</guest_flag>
103-
</guest_flags>
104-
<vcpu_affinity desc="vCPU affinity map. Each vCPU will pin to the selected pCPU ID. Please make sure each vCPU pin to different pCPU.">
10579
<pcpu_id>3</pcpu_id>
10680
</vcpu_affinity>
10781
<clos desc="Class of Service for Cache Allocation Technology. Please refer SDM 17.19.2 for details and use with caution.">0</clos>
@@ -116,7 +90,7 @@
11690
</vuart>
11791
<vuart id="1">
11892
<type configurable="0" desc="vCOM2 type">VUART_LEGACY_PIO</type>
119-
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">INVALID_COM_BASE</base>
93+
<base desc="vUART1 (A.K.A COM2) enabling switch. Enable by exposing its base address, disable by returning invalid base address.">COM2_BASE</base>
12094
<irq configurable="0" desc="vCOM2 irq">COM2_IRQ</irq>
12195
<target_vm_id desc="COM2 is used for VM communications. When it is enabled, please specify which target VM that current VM connect to.">0</target_vm_id>
12296
<target_uart_id configurable="0" desc="target vUART ID that vCOM2 connect to">1</target_uart_id>

misc/acrn-config/xmls/config-xmls/nuc6cayh/industry_launch_3uos.xml

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)