config tool: change vm_type to required field

hide vm_type in UI for service vm, and change it to
required field, since lack of it in xml may lead to
wrong inference for vm severity.

Tracked-On: #6690
Signed-off-by: hangliu1 <hang1.liu@linux.intel.com>
This commit is contained in:
hangliu1
2022-06-09 21:10:52 +08:00
committed by acrnsi-robot
parent ea8651cbd6
commit cfd677c782
19 changed files with 37 additions and 19 deletions

View File

@@ -90,6 +90,7 @@
</vm>
<vm id="1">
<load_order>SERVICE_VM</load_order>
<vm_type>STANDARD_VM</vm_type>
<name>ACRN_Service_VM</name>
<os_config>
<kern_type>KERNEL_BZIMAGE</kern_type>
@@ -161,4 +162,4 @@
<block>./YaaG.img</block>
</virtio_devices>
</vm>
</acrn-config>
</acrn-config>

View File

@@ -117,6 +117,7 @@
</vm>
<vm id="1">
<load_order>SERVICE_VM</load_order>
<vm_type>STANDARD_VM</vm_type>
<name>ACRN_Service_VM</name>
<os_config>
<kern_type>KERNEL_BZIMAGE</kern_type>
@@ -195,4 +196,4 @@
<block>./YaaG.img</block>
</virtio_devices>
</vm>
</acrn-config>
</acrn-config>

View File

@@ -58,6 +58,7 @@
</hv>
<vm id="0">
<load_order>SERVICE_VM</load_order>
<vm_type>STANDARD_VM</vm_type>
<name>ACRN_Service_VM</name>
<os_config>
<kern_type>KERNEL_BZIMAGE</kern_type>
@@ -269,4 +270,4 @@
<block>./YaaG.img</block>
</virtio_devices>
</vm>
</acrn-config>
</acrn-config>