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:
Victor Sun
2019-01-15 15:44:30 +08:00
committed by wenlingz
parent fe35dde421
commit c4a230f313
11 changed files with 70 additions and 70 deletions

View File

@@ -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));