mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-09 02:24:45 +00:00
acrn-config: Use vm_type to instead load_type/uuid/severity in config
Use vm_type to instead combination of load_type/uuid/severity in config xmls. Tracked-On: #4641 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com> Acked-by: Terry Zou <terry.zou@intel.com>
This commit is contained in:
@@ -50,16 +50,14 @@
|
||||
</hv>
|
||||
|
||||
<vm id="0">
|
||||
<load_order desc="Specify the VM by its load order: PRE_LAUNCHED_VM, SOS_VM or POST_LAUNCHED_VM." readonly="true">SOS_VM</load_order>
|
||||
<vm_type desc="Specify the VM type" readonly="true">SOS_VM</vm_type>
|
||||
<name desc="Specify the VM name which will be shown in hypervisor console command: vm_list.">ACRN SOS VM</name>
|
||||
<uuid configurable="0" desc="vm uuid">dbbbd434-7a57-4216-a12c-2201f1ab0240</uuid>
|
||||
<guest_flags desc="Select all applicable flags for the VM" multiselect="true">
|
||||
<guest_flag />
|
||||
</guest_flags>
|
||||
<clos configurable="0" desc="Class of Service for Cache Allocation Technology. Please refer SDM 17.19.2 for details and use with caution.">
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<severity desc="severity of the guest VM">SEVERITY_SOS</severity>
|
||||
<memory>
|
||||
<start_hpa configurable="0" desc="The start physical address in host for the VM">0</start_hpa>
|
||||
<size configurable="0" desc="The memory size in Bytes for the VM">0x20000000</size>
|
||||
@@ -94,8 +92,7 @@
|
||||
</board_private>
|
||||
</vm>
|
||||
<vm id="1">
|
||||
<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>
|
||||
<uuid configurable="0" desc="vm uuid">d2795438-25d6-11e8-864e-cb7a18b34643</uuid>
|
||||
<vm_type desc="Specify the VM type" readonly="true">POST_STD_VM</vm_type>
|
||||
<guest_flags desc="Select all applicable flags for the VM" multiselect="true">
|
||||
<guest_flag />
|
||||
</guest_flags>
|
||||
@@ -105,7 +102,6 @@
|
||||
<clos configurable="0" desc="Class of Service for Cache Allocation Technology. Please refer SDM 17.19.2 for details and use with caution.">
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<severity desc="severity of the guest VM">SEVERITY_STANDARD_VM</severity>
|
||||
<epc_section desc="epc section">
|
||||
<base desc="SGX EPC section base, must be page aligned">0</base>
|
||||
<size desc="SGX EPC section size in Bytes, must be page aligned">0</size>
|
||||
@@ -124,8 +120,7 @@
|
||||
</vuart>
|
||||
</vm>
|
||||
<vm id="2">
|
||||
<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>
|
||||
<uuid configurable="0" desc="vm uuid">495ae2e5-2603-4d64-af76-d4bc5a8ec0e5</uuid>
|
||||
<vm_type desc="Specify the VM type" readonly="true">POST_RT_VM</vm_type>
|
||||
<guest_flags desc="Select all applicable flags for the VM" multiselect="true">
|
||||
<guest_flag>0</guest_flag>
|
||||
</guest_flags>
|
||||
@@ -136,7 +131,6 @@
|
||||
<clos configurable="0" desc="Class of Service for Cache Allocation Technology. Please refer SDM 17.19.2 for details and use with caution.">
|
||||
<vcpu_clos>0</vcpu_clos>
|
||||
</clos>
|
||||
<severity desc="severity of the guest VM">SEVERITY_RTVM</severity>
|
||||
<epc_section desc="epc section">
|
||||
<base desc="SGX EPC section base, must be page aligned">0</base>
|
||||
<size desc="SGX EPC section size in Bytes, must be page aligned">0</size>
|
||||
|
||||
Reference in New Issue
Block a user