Extra information for PIC vdevs
#include <qvm/vdev-core.h>
struct vdev_pic_functions {
unsigned flags;
unsigned pnum_mask;
int (*signal)(const struct guest_intr *gip, enum guest_intr_state gis);
void (*notify)(const struct guest_intr *gip, enum guest_intr_notifications gin);
const char * (*parse)(struct guest_intr *gip, const char *name);
size_t (*string)(const struct guest_intr *gip, char *buf, size_t buf_len);
ssize_t (*table_spec)(const struct guest_intr *gip,
enum guest_table_spec_component component, void *buf, size_t buf_len);
} ;
PIC-specific flags.
The param mask that isolates the pin index number.
Assert or de-assert an interrupt pin.
Indicate which operations should call guest_intr_notify().
Convert a param value referenced by gip into a string.
Convert a param value referenced by gip into a string.
Convert *gip into the format required by a firmware table.