DM: VMcfg: support --vmcfg options

Enable --vmcfg options for acrn-dm, if --vmcfg <index> is specified,
build-in VM configuration will be used, and override any other
optional parameters.
run 'acrn-dm --vmcfg list' to show all build-in VM configurations.
run 'acrnpdm --vmcfg <index>' to launch UOS with selected config.

Tracked-On: #1528
Acked-by: Yin Fengwei <fengwei.yin@intel.com>
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
This commit is contained in:
yuhong.tao@intel.com
2018-08-24 00:51:51 +08:00
committed by wenlingz
parent 321021ebaf
commit 67d7292081
3 changed files with 73 additions and 3 deletions

View File

@@ -17,4 +17,6 @@ extern struct vmcfg_arg **args_buildin;
extern int num_args_buildin;
extern struct vmcfg_arg mrb_vm1_args;
void vmcfg_list(void);
#endif