DM: VMcfg: support --dump options

run 'acrn-dm --dump <index>' to show build-in parameters

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-28 23:13:35 +08:00
committed by wenlingz
parent 67d7292081
commit c86da0034e
3 changed files with 44 additions and 0 deletions

View File

@@ -6,6 +6,8 @@
#ifndef VMCFG_H
#define VMCFG_H
#include <getopt.h>
struct vmcfg_arg {
char **argv;
int argc;
@@ -19,4 +21,5 @@ extern int num_args_buildin;
extern struct vmcfg_arg mrb_vm1_args;
void vmcfg_list(void);
void vmcfg_dump(int index, struct option *long_options, char *optstr);
#endif