dm: pass mac seed not to use vm name

Physical NIC mac address is used for generate UOS mac address.
This patch uses a new parameters to pass this information
instead of vm name.

Tracked-On: #1987

Signed-off-by: Jie Deng <jie.deng@intel.com>
Acked-by: Yan, Like <like.yan@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Jie Deng
2018-12-07 22:30:02 +08:00
committed by wenlingz
parent e3fc6c3c79
commit ed1c576d08
5 changed files with 20 additions and 6 deletions

View File

@@ -42,6 +42,7 @@ extern char *kernel_file_name;
extern char *elf_file_name;
extern char *vmname;
extern bool stdio_in_use;
extern char *mac_seed;
int vmexit_task_switch(struct vmctx *ctx, struct vhm_request *vhm_req,
int *vcpu);