Updated: October 28, 2024 |
Bit fields for guest_intr_signal() and the vdev_pic_functions signal parameter
#include <qvm/types.h>
enum guest_intr_state { GIS_NOP = 0x00, GIS_ON = 0x01, GIS_OFF = 0x02, GIS_ISR = 0x04 };
There's nothing to do.
Assert the interrupt.
De-assert the interrupt.
When specified by itself, queries if guest_intr_signal() can be handled from an ISR with this interrupt (the function will return -ENOTSUPP if it can't be handled from an ISR).
When ORed with GIS_ON or GIS_OFF, indicates that this guest_intr_signal() function call is being invoked from an ISR.