summaryrefslogtreecommitdiff
path: root/usr/src/lib/libvmmapi/common/vmmapi.c
diff options
context:
space:
mode:
authorMichael Zeller <mike@mikezeller.net>2021-07-27 16:55:51 -0400
committerGitHub <noreply@github.com>2021-07-27 16:55:51 -0400
commit23cf9d8375c8b9f39f05db37ede85475b2225ddd (patch)
tree190d2499e37bd23ac5dd4cd858dfd730b300e42d /usr/src/lib/libvmmapi/common/vmmapi.c
parent359c7fef8f9958b51fa2670e2e52e3d3c1eb9bf4 (diff)
downloadillumos-joyent-23cf9d8375c8b9f39f05db37ede85475b2225ddd.tar.gz
OS-8287 Back out OS-8005 in favor of illumos#13822
Reviewed by: Dan McDonald <danmcd@joyent.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/libvmmapi/common/vmmapi.c')
-rw-r--r--usr/src/lib/libvmmapi/common/vmmapi.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/usr/src/lib/libvmmapi/common/vmmapi.c b/usr/src/lib/libvmmapi/common/vmmapi.c
index 0810eb9251..ba3fb7f8dd 100644
--- a/usr/src/lib/libvmmapi/common/vmmapi.c
+++ b/usr/src/lib/libvmmapi/common/vmmapi.c
@@ -1942,14 +1942,6 @@ vm_set_run_state(struct vmctx *ctx, int vcpu, enum vcpu_run_state state,
return (0);
}
-int
-vm_arc_resv(struct vmctx *ctx, size_t len)
-{
- if (ioctl(ctx->fd, VM_ARC_RESV, (uint64_t)len) != 0) {
- return (errno);
- }
- return (0);
-}
#endif /* __FreeBSD__ */
#ifdef __FreeBSD__