Return status from the vdev_factory vread and vwrite functions, and with guest_instr_callback_func_t
#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 };
Normal completion, advance to next instruction.
Normal completion, don't advance to next instruction.
Abort the instruction emulation and restart the guest execution. Reserved for internal use.
The hosting qvm process instance should generate a bus error to the guest.
Keep looking for more instruction exit callbacks; you only use this with guest_instr_callback_func_t.
Shut down the hosting qvm process instance.
Attempting to emulate the action requested by the guest generated an error (the errno value is added to this constant).