mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 17:21:22 +00:00
HV:modified vm_description and vm_hw_info memebers' type
transfer num_vcpus,exp_num_vcpus to uint16_t. transfer vm_hw_num_cores to uint16_t. Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -469,7 +469,7 @@ int ept_mmap(struct vm *vm, uint64_t hpa,
|
||||
uint64_t gpa, uint64_t size, uint32_t type, uint32_t prot)
|
||||
{
|
||||
struct map_params map_params;
|
||||
int i;
|
||||
uint16_t i;
|
||||
struct vcpu *vcpu;
|
||||
|
||||
/* Setup memory map parameters */
|
||||
@@ -516,7 +516,7 @@ int ept_update_mt(struct vm *vm, uint64_t hpa,
|
||||
{
|
||||
struct map_params map_params;
|
||||
struct vcpu *vcpu;
|
||||
int i;
|
||||
uint16_t i;
|
||||
|
||||
/* Setup memory map parameters */
|
||||
map_params.page_table_type = PTT_EPT;
|
||||
|
||||
Reference in New Issue
Block a user