hv: WA ACRN-6886: Interrupt the target CPU and let it do PI with VMENTRY

Tracked-On: #5866
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
This commit is contained in:
Shuo A Liu 2021-05-08 14:34:39 +08:00 committed by acrnsi-robot
parent 59635fb984
commit bef6dbc238

View File

@ -521,7 +521,8 @@ static void apicv_advanced_accept_intr(struct acrn_vlapic *vlapic, uint32_t vect
bitmap_set_lock(ACRN_REQUEST_EVENT, &vcpu->arch.pending_req);
if (get_pcpu_id() != pcpuid_from_vcpu(vcpu)) {
apicv_trigger_pi_anv(pcpuid_from_vcpu(vcpu), (uint32_t)vcpu->arch.pid.control.bits.nv);
/* WA: Interrupt the target CPU and let it do PI with VMENTRY */
vcpu_make_request(vcpu, ACRN_REQUEST_EVENT);
}
}
}