Skip to content

Commit b99de16

Browse files
Sainath Grandhiwenlingz
authored andcommitted
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>
1 parent 75b5916 commit b99de16

File tree

1 file changed

+1
-0
lines changed
  • hypervisor/arch/x86/guest

1 file changed

+1
-0
lines changed

hypervisor/arch/x86/guest/virq.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ static bool vcpu_inject_lo_exception(struct acrn_vcpu *vcpu)
289289
void vcpu_inject_extint(struct acrn_vcpu *vcpu)
290290
{
291291
vcpu_make_request(vcpu, ACRN_REQUEST_EXTINT);
292+
signal_event(&vcpu->events[VCPU_EVENT_VIRTUAL_INTERRUPT]);
292293
}
293294

294295
/* Inject NMI to guest */

0 commit comments

Comments
 (0)