aboutsummaryrefslogtreecommitdiff
path: root/lib/libvmmapi/vmmapi.h
diff options
context:
space:
mode:
authorBojan Novković <bnovkov@FreeBSD.org>2025-11-06 14:26:27 +0000
committerBojan Novković <bnovkov@FreeBSD.org>2025-12-17 14:08:32 +0000
commitbd16bac27e7e0d31bccf88feca95cd98f0ef0fd4 (patch)
tree1f302c96d0ba718bfb2fa247e31a1ad71a9c51ce /lib/libvmmapi/vmmapi.h
parent1092ec8b337595ed8d52accf41c6904d75b3689d (diff)
Diffstat (limited to 'lib/libvmmapi/vmmapi.h')
-rw-r--r--lib/libvmmapi/vmmapi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libvmmapi/vmmapi.h b/lib/libvmmapi/vmmapi.h
index b637c45d1eff..5d3495a128d9 100644
--- a/lib/libvmmapi/vmmapi.h
+++ b/lib/libvmmapi/vmmapi.h
@@ -115,6 +115,7 @@ int vm_create(const char *name);
struct vmctx *vm_open(const char *name);
#define VMMAPI_OPEN_CREATE 0x01 /* create if the VM does not exist */
#define VMMAPI_OPEN_REINIT 0x02 /* reinitialize the VM if it exists */
+#define VMMAPI_OPEN_CREATE_DESTROY_ON_CLOSE 0x04 /* Destroy the VM when closing vmm_ctl */
struct vmctx *vm_openf(const char *name, int flags);
void vm_close(struct vmctx *ctx);
void vm_destroy(struct vmctx *ctx);