mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-10 05:09:01 +00:00
acrn-config: add virtio-input support for launch
config Add support to parse and get 'virtio-input' item value from launch config files, these values are editable by user. Tracked-On: #4163 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
@@ -290,11 +290,11 @@ def save_launch():
|
||||
# call validate function
|
||||
rename = False
|
||||
try:
|
||||
(error_list, pthru_sel, dm_value) = validate_launch_setting(
|
||||
(error_list, pthru_sel, virtio, dm_value) = validate_launch_setting(
|
||||
os.path.join(os.path.dirname(os.path.abspath(__file__)), 'res', xml_configs[0]+'.xml'),
|
||||
scenario_file_path,
|
||||
tmp_launch_file)
|
||||
print(pthru_sel, dm_value)
|
||||
print(pthru_sel, virtio, dm_value)
|
||||
except Exception as error:
|
||||
if os.path.isfile(tmp_launch_file):
|
||||
os.remove(tmp_launch_file)
|
||||
|
Reference in New Issue
Block a user