mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 02:08:04 +00:00
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:
@@ -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);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user