A callback function prototype for handling special guest instructions
Synopsis:
#include <qvm/guest.h>
enum vdev_ref_status guest_instr_callback_func_t(vdev_t *vdp,
struct guest_cpu *gcp,
enum guest_instr_type git,
unsigned qualifier)
Arguments:
- vdp
- A pointer to an associated vdev.
- gcp
- A pointer to the vCPU.
- git
- The instruction being executed.
- qualifier
- The associated qualifier (see guest_instr_type).
Library:
Provided by qvm; no external library is required.