diff options
| author | Vitaliy Gusev <gusev.vitaliy@gmail.com> | 2022-06-30 21:21:57 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2022-06-30 21:21:57 +0000 |
| commit | f0880ab791a510391a12f2ab7b01889b6774bca0 (patch) | |
| tree | 4bbe042fbc9f83594658b975b4ed4dc4732d1320 /lib/libvmmapi/vmmapi.h | |
| parent | 87f49967d3249e0b536beaa9c7fb5604d5a3919a (diff) | |
Diffstat (limited to 'lib/libvmmapi/vmmapi.h')
| -rw-r--r-- | lib/libvmmapi/vmmapi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libvmmapi/vmmapi.h b/lib/libvmmapi/vmmapi.h index 87051973225a..438fd582db0e 100644 --- a/lib/libvmmapi/vmmapi.h +++ b/lib/libvmmapi/vmmapi.h @@ -33,6 +33,7 @@ #include <sys/param.h> #include <sys/cpuset.h> +#include <machine/vmm.h> #include <machine/vmm_dev.h> #include <stdbool.h> @@ -117,6 +118,7 @@ int vm_munmap_memseg(struct vmctx *ctx, vm_paddr_t gpa, size_t len); int vm_create(const char *name); int vm_get_device_fd(struct vmctx *ctx); struct vmctx *vm_open(const char *name); +void vm_close(struct vmctx *ctx); void vm_destroy(struct vmctx *ctx); int vm_parse_memsize(const char *optarg, size_t *memsize); int vm_setup_memory(struct vmctx *ctx, size_t len, enum vm_mmap_style s); |
