hv: vpic: remove vm structure pointer from vpic

We could use container_of to get vm structure pointer from vpic. So vm
structure pointer is no need in vpic structure.

Tracked-On: #4550
Signed-off-by: Li Fei1 <fei1.li@intel.com>
This commit is contained in:
Li Fei1
2020-03-30 13:50:31 +08:00
committed by wenlingz
parent 0a7770cbb7
commit 1946661c51
2 changed files with 28 additions and 26 deletions

View File

@@ -131,11 +131,11 @@ struct i8259_reg_state {
};
struct acrn_vpic {
struct acrn_vm *vm;
spinlock_t lock;
struct i8259_reg_state i8259[2];
};
struct acrn_vm;
void vpic_init(struct acrn_vm *vm);
/**