Send an MSI to a guest
Synopsis:
#include <qvm/guest.h>
int guest_msi_signal(const vdev_t *src,
uint64_t addr,
unsigned data)
Arguments:
- src
- A pointer to the vdev signalling the interrupt.
- addr
- The address portion of the interrupt information.
- data
- The data portion of the interrupt information.
Library:
Provided by qvm; no external library is required.
Description:
Use this function to send a Message Signaled Interrupt (MSI) to a guest.
Returns:
EOK on success; otherwise, an error code.