HV: remove vm_config pointer in acrn_vm struct

For each vm_array[] item, its config is located in corresponding
index of vm_configs[], so vm_config pointer is not needed any more.

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-21 02:18:05 +08:00
committed by Eddie Dong
parent 7bf9b1be2c
commit 253b25937b
7 changed files with 17 additions and 14 deletions

View File

@@ -157,7 +157,6 @@ struct acrn_vm {
struct acrn_vpci vpci;
#ifdef CONFIG_PARTITION_MODE
struct mptable_info mptable;
struct acrn_vm_config *vm_config;
uint8_t vrtc_offset;
#endif