From dde8a88fb30e7de3a54f5adb45763bb200fdbec3 Mon Sep 17 00:00:00 2001 From: Jose Martins Date: Fri, 27 Sep 2024 12:30:56 +0100 Subject: [PATCH] fix(ipc): inject non-hw interupt Signed-off-by: Jose Martins --- src/core/ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ipc.c b/src/core/ipc.c index ac57edaf..f5dc7433 100644 --- a/src/core/ipc.c +++ b/src/core/ipc.c @@ -40,7 +40,7 @@ static void ipc_notify(size_t shmem_id, size_t event_id) struct ipc* ipc_obj = ipc_find_by_shmemid(cpu()->vcpu->vm, shmem_id); if (ipc_obj != NULL && event_id < ipc_obj->interrupt_num) { irqid_t irq_id = ipc_obj->interrupts[event_id]; - vcpu_inject_hw_irq(cpu()->vcpu, irq_id); + vcpu_inject_irq(cpu()->vcpu, irq_id); } }