mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-08 04:09:11 +00:00
HV: rename the term of vm_description to vm_config
This patch is a pure term change of vm_description to vm_config, the struct name of vm_description is changed to acrn_vm_config. The patch does not change any code logic or senmantic. Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -82,7 +82,7 @@ int32_t mptable_build(struct acrn_vm *vm)
|
||||
struct mpfps *mpfp;
|
||||
size_t mptable_length;
|
||||
uint16_t i;
|
||||
uint16_t vcpu_num = vm->vm_desc->vm_hw_num_cores;
|
||||
uint16_t vcpu_num = vm->vm_config->vm_hw_num_cores;
|
||||
struct mptable_info *mptable = &vm->mptable;
|
||||
|
||||
(void *)memcpy_s((void *)mptable, sizeof(struct mptable_info),
|
||||
@@ -100,7 +100,7 @@ int32_t mptable_build(struct acrn_vm *vm)
|
||||
}
|
||||
|
||||
for (i = 0U; i < vcpu_num; i++) {
|
||||
uint16_t pcpu_id = *(vm->vm_desc->vm_pcpu_ids + i);
|
||||
uint16_t pcpu_id = *(vm->vm_config->vm_pcpu_ids + i);
|
||||
|
||||
(void *)memcpy_s((void *)(mptable->proc_entry_array + i), sizeof(struct proc_entry),
|
||||
(const void *)&proc_entry_template, sizeof(struct proc_entry));
|
||||
|
Reference in New Issue
Block a user