config-tools: tiny fix in upgrader
Do not copy the 'board' and 'scenario' in <acrn-config> to the new xml. Tracked-On: #7345 Signed-off-by: Conghui <conghui.chen@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
This commit is contained in:
parent
593414e9c2
commit
c0fd2e9ce0
|
@ -731,8 +731,6 @@ class ScenarioUpgrader(ScenarioTransformer):
|
|||
def upgraded_etree(self):
|
||||
new_xml_etree = etree.ElementTree(etree.Element(self.old_xml_etree.getroot().tag))
|
||||
root_node = new_xml_etree.getroot()
|
||||
for k, v in self.old_xml_etree.getroot().items():
|
||||
new_xml_etree.getroot().set(k, v)
|
||||
|
||||
# Migrate the HV and VM nodes, which are needed to kick off a thorough traversal of the existing scenario.
|
||||
for old_node in self.old_xml_etree.getroot():
|
||||
|
|
Loading…
Reference in New Issue