Bit fields for guest_intr_signal() and the vdev_pic_functions signal parameter
Synopsis:
#include <qvm/types.h>
enum guest_intr_state {
GIS_NOP = 0x00,
GIS_ON = 0x01,
GIS_OFF = 0x02,
GIS_ISR = 0x04
};
Data:
- GIS_NOP
There's nothing to do.
- GIS_ON
Assert the interrupt.
- GIS_OFF
De-assert the interrupt.
- GIS_ISR
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.