mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-20 20:53:46 +00:00
hv: Wake up vCPU for interrupts from vPIC
Wake up vCPUs that are blocked upon interrupts from vPIC. Tracked-On: #4664 Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
This commit is contained in:
parent
75b59165a2
commit
b99de16ff5
@ -289,6 +289,7 @@ static bool vcpu_inject_lo_exception(struct acrn_vcpu *vcpu)
|
|||||||
void vcpu_inject_extint(struct acrn_vcpu *vcpu)
|
void vcpu_inject_extint(struct acrn_vcpu *vcpu)
|
||||||
{
|
{
|
||||||
vcpu_make_request(vcpu, ACRN_REQUEST_EXTINT);
|
vcpu_make_request(vcpu, ACRN_REQUEST_EXTINT);
|
||||||
|
signal_event(&vcpu->events[VCPU_EVENT_VIRTUAL_INTERRUPT]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Inject NMI to guest */
|
/* Inject NMI to guest */
|
||||||
|
Loading…
Reference in New Issue
Block a user