How to manually trigger a hardware interrupt in the guest VM



I am looking for a mechanism to trigger an interrupt to the guest VM and capture it in a kernel module in the guest OS. For example, I want to trigger IRQ 3. Is there any existing function in the code so that I can call and trigger it? Thanks very much.