mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 17:58:30 +00:00
hv:change function parameter for invept
change the input parameter from vcpu to eptp in order to let this api more generic, no need to care normal world or secure world. Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
1547a4cb27
commit
cd40980d5f
@@ -374,7 +374,10 @@ int32_t acrn_handle_pending_request(struct acrn_vcpu *vcpu)
|
||||
} else {
|
||||
|
||||
if (bitmap_test_and_clear_lock(ACRN_REQUEST_EPT_FLUSH, pending_req_bits)) {
|
||||
invept(vcpu);
|
||||
invept(vcpu->vm->arch_vm.nworld_eptp);
|
||||
if (vcpu->vm->sworld_control.flag.active != 0UL) {
|
||||
invept(vcpu->vm->arch_vm.sworld_eptp);
|
||||
}
|
||||
}
|
||||
|
||||
if (bitmap_test_and_clear_lock(ACRN_REQUEST_VPID_FLUSH, pending_req_bits)) {
|
||||
|
Reference in New Issue
Block a user