guest_msi_deliver_func_t

Callback to deliver a Message Signaled Interrupt (MSI)

Synopsis:

#include <qvm/guest.h>
typedef void guest_msi_deliver_func_t(vdev_t *pic,
                                      const vdev_t *src,
                                      uint64_t paddr,
                                      unsigned data,
                                      unsigned cookie);

Arguments:

pic
A pointer to a PIC vdev.
src
A pointer to the vdev structure of the device that's asserting the MSI.
paddr
The address portion of the interrupt information.
data
The data portion of the interrupt information.
cookie
The value in the cookie parameter filled by the guest_msi_register() function.

Library:

Provided by qvm; no external library is required.