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

@@ -104,7 +104,7 @@ void vcpu_thread(struct vcpu *vcpu)
static bool is_vm0_bsp(uint16_t pcpu_id)
{
return pcpu_id == vm0_desc.vm_hw_logical_core_ids[0];
return pcpu_id == vm0_desc.vm_pcpu_ids[0];
}
int32_t hv_main(uint16_t pcpu_id)