config_tools: add interface to save config xmls to user defined path in config editor

add interface to save scenario xmls and launch xmls to user defined
path in config editor; move all config xmls and generated scripts
out of acrn-hypervisor.

Tracked-On: #6208
Signed-off-by: Shuang Zheng <shuang.zheng@intel.com>
Reviewed-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
Shuang Zheng
2021-07-22 19:30:00 +08:00
committed by Xie, Nanlin
parent 69fef2e685
commit e775db23b1
7 changed files with 207 additions and 151 deletions

View File

@@ -313,7 +313,7 @@ class XmlConfig:
raise Exception('can not find node by {} from xml'.format(args))
def save(self, xml=None, user_defined=True):
def save(self, xml=None, user_defined=False):
"""
save current xml to file.
:param xml: the file name to save; if not specified, save current xml to default names.