mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 09:17:58 +00:00
HV: replace memory config with acrn_vm_mem_config
The member of mem_size and start_hpa in acrn_vm_config struct will be replaced with the acrn_vm_mem_config struct; Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -174,7 +174,7 @@ int32_t create_vm(uint16_t vm_id, struct acrn_vm_config *vm_config, struct acrn_
|
||||
&vm_config->GUID[0], sizeof(vm_config->GUID));
|
||||
#ifdef CONFIG_PARTITION_MODE
|
||||
ept_mr_add(vm, (uint64_t *)vm->arch_vm.nworld_eptp,
|
||||
vm_config->start_hpa, 0UL, vm_config->mem_size,
|
||||
vm_config->memory.start_hpa, 0UL, vm_config->memory.size,
|
||||
EPT_RWX|EPT_WB);
|
||||
init_vm_boot_info(vm);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user