mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-31 03:15:42 +00:00
config_tools: refine vm_type in upgrader
Rename "vm_type" from "SOS_VM" to "STANDARD_VM". Tracked-On: #6690 Signed-off-by: Ziheng Li <ziheng.li@intel.com>
This commit is contained in:
parent
e41323993b
commit
511f3003ac
@ -573,7 +573,7 @@ class ScenarioUpgrader(ScenarioTransformer):
|
||||
old_guest_flag_nodes or \
|
||||
(old_rtos_type_nodes and old_rtos_type_nodes[0].text in ["Soft RT", "Hard RT"]):
|
||||
new_node.text = "RTVM"
|
||||
elif old_vm_type_node.text in ["SAFETY_VM", "PRE_STD_VM", "POST_STD_VM", "SERVICE_VM"]:
|
||||
elif old_vm_type_node.text in ["SAFETY_VM", "PRE_STD_VM", "POST_STD_VM", "SERVICE_VM", "SOS_VM"]:
|
||||
new_node.text = "STANDARD_VM"
|
||||
else:
|
||||
new_node.text = old_vm_type_node.text
|
||||
|
Loading…
Reference in New Issue
Block a user