Skip to content

Commit

Permalink
fix(ipc): inject non-hw interupt
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Martins <josemartins90@gmail.com>
  • Loading branch information
josecm committed Sep 27, 2024
1 parent 02790d7 commit 50e6fe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 50e6fe3

Please sign in to comment.