summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bhyve/bhyverun.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bhyve/bhyverun.h')
-rw-r--r--usr.sbin/bhyve/bhyverun.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/bhyve/bhyverun.h b/usr.sbin/bhyve/bhyverun.h
index f18d42f..87824ef 100644
--- a/usr.sbin/bhyve/bhyverun.h
+++ b/usr.sbin/bhyve/bhyverun.h
@@ -35,6 +35,10 @@
#define __CTASSERT(x, y) typedef char __assert ## y[(x) ? 1 : -1]
#endif
+#define VMEXIT_CONTINUE 1 /* continue from next instruction */
+#define VMEXIT_RESTART 2 /* restart current instruction */
+#define VMEXIT_ABORT 3 /* abort the vm run loop */
+
struct vmctx;
extern int guest_ncpus;
extern char *guest_uuid_str;
OpenPOWER on IntegriCloud