mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +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:
@@ -10,9 +10,9 @@
|
||||
#define VM0_NUM_CPUS 1
|
||||
|
||||
/* Logical CPU IDs assigned to VM0 */
|
||||
int VM0_CPUS[VM0_NUM_CPUS] = {0};
|
||||
uint16_t VM0_CPUS[VM0_NUM_CPUS] = {0U};
|
||||
|
||||
struct vm_description vm0_desc = {
|
||||
.vm_hw_num_cores = VM0_NUM_CPUS,
|
||||
.vm_hw_logical_core_ids = &VM0_CPUS[0],
|
||||
.vm_pcpu_ids = &VM0_CPUS[0],
|
||||
};
|
||||
|
@@ -10,9 +10,9 @@
|
||||
#define VM0_NUM_CPUS 1
|
||||
|
||||
/* Logical CPU IDs assigned to VM0 */
|
||||
int VM0_CPUS[VM0_NUM_CPUS] = {0};
|
||||
uint16_t VM0_CPUS[VM0_NUM_CPUS] = {0U};
|
||||
|
||||
struct vm_description vm0_desc = {
|
||||
.vm_hw_num_cores = VM0_NUM_CPUS,
|
||||
.vm_hw_logical_core_ids = &VM0_CPUS[0],
|
||||
.vm_pcpu_ids = &VM0_CPUS[0],
|
||||
};
|
||||
|
Reference in New Issue
Block a user