Return status from the vdev_factory vread and vwrite functions, and with guest_instr_callback_func_t
Synopsis:
#include <qvm/vdev-core.h>
enum vdev_ref_status {
VRS_NORMAL,
VRS_NO_ADVANCE,
VRS_ABORT,
VRS_BUS_ERROR,
VRS_CONTINUE,
VRS_TERMINATE,
VRS_ERRNO = 0x100
};
Data:
- VRS_NORMAL
Normal completion, advance to next instruction.
- VRS_NO_ADVANCE
Normal completion, don't advance to next instruction.
- VRS_ABORT
Abort the instruction emulation and restart the guest execution. Reserved for internal use.
- VRS_BUS_ERROR
The hosting qvm process instance should generate a bus error to the guest.
- VRS_CONTINUE
Keep looking for more instruction exit callbacks; you only use this with guest_instr_callback_func_t.
- VRS_TERMINATE
Shut down the hosting qvm process instance.
- VRS_ERRNO
Attempting to emulate the action requested by the guest generated an error (the errno value is added to this constant).