hv: add param to control INIT used to kick pCPU

By default, notification IPI used to kick sharing pCPU, INIT
used to kick partition pCPU. If USE_INIT_IPI flag is passed to
hypervisor, only INIT will be used to kick pCPU.

Tracked-On: #8207
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Minggui Cao
2022-09-21 15:27:57 +08:00
committed by acrnsi-robot
parent 2c140addaf
commit bc4c773cf8
4 changed files with 18 additions and 1 deletions

View File

@@ -41,5 +41,6 @@ void console_vmexit_callback(struct acrn_vcpu *vcpu);
void suspend_console(void);
void resume_console(void);
struct acrn_vuart *vm_console_vuart(struct acrn_vm *vm);
bool is_using_init_ipi(void);
#endif /* CONSOLE_H */