guest_instr_callback_func_t

Prototype for callback function for handling guest instructions

Synopsis:

#include <qvm/guest.h>
typedef vdev_ref_status_t guest_instr_callback_func_t(vdev_t *vdp,
                                                      struct guest_cpu *gcp,
                                                      guest_instr_type_t git,
                                                      unsigned qualifier);

Arguments:

vdp
A pointer to an associated vdev.
gcp
A pointer to the vCPU.
git
The instruction being executed (see the GIT_X86_* and GIT_ARM_* constants).
qualifier
The associated qualifier.
Page updated: