mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-17 06:49:25 +00:00
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:
@@ -356,7 +356,7 @@ static inline bool vcpu_in_vm_desc(struct vcpu *vcpu,
|
||||
int i;
|
||||
|
||||
for (i = 0; i < vm_desc->vm_hw_num_cores; i++) {
|
||||
if (vcpu->pcpu_id == vm_desc->vm_hw_logical_core_ids[i]) {
|
||||
if (vcpu->pcpu_id == vm_desc->vm_pcpu_ids[i]) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user