dm: cmdline: remove unused parameters

Remove unused parameters for acrn-dm

Tracked-On: #1616
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
Acked-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
Conghui Chen
2018-10-27 02:42:38 +08:00
committed by wenlingz
parent 4261ca223e
commit 3010718d4a
7 changed files with 6 additions and 262 deletions

View File

@@ -120,7 +120,6 @@ vm_create(const char *name, uint64_t req_buf)
uuid_copy(create_vm.GUID, vm_uuid);
ctx->fd = devfd;
ctx->memflags = 0;
ctx->lowmem_limit = 2 * GB;
ctx->name = (char *)(ctx + 1);
strcpy(ctx->name, name);
@@ -262,18 +261,6 @@ vm_set_lowmem_limit(struct vmctx *ctx, uint32_t limit)
ctx->lowmem_limit = limit;
}
void
vm_set_memflags(struct vmctx *ctx, int flags)
{
ctx->memflags = flags;
}
int
vm_get_memflags(struct vmctx *ctx)
{
return ctx->memflags;
}
int
vm_map_memseg_vma(struct vmctx *ctx, size_t len, vm_paddr_t gpa,
uint64_t vma, int prot)