mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-04 10:25:00 +00:00
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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user