HV:transfer vm_hw_logical_core_ids's type and rename it

rename vm_hw_logical_core_ids to vm_pcpu_ids
and changed the type to uint16_t.

V1->V2:rename the vm_hw_logical_core_ids

Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Huihuang Shi
2018-07-13 11:43:29 +08:00
committed by lijinxia
parent 1d628c640c
commit e3302e87e8
5 changed files with 8 additions and 8 deletions

View File

@@ -158,10 +158,10 @@ struct vm {
};
struct vm_description {
/* The logical CPU IDs associated with this VM - The first CPU listed
/* The physical CPU IDs associated with this VM - The first CPU listed
* will be the VM's BSP
*/
int *vm_hw_logical_core_ids;
uint16_t *vm_pcpu_ids;
unsigned char GUID[16]; /* GUID of the vm will be created */
uint16_t vm_hw_num_cores; /* Number of virtual cores */
/* Whether secure world is enabled for current VM. */