diff options
Diffstat (limited to 'usr/src/lib/libvmmapi/common')
| -rw-r--r-- | usr/src/lib/libvmmapi/common/mapfile-vers | 3 | ||||
| -rw-r--r-- | usr/src/lib/libvmmapi/common/vmmapi.c | 8 | ||||
| -rw-r--r-- | usr/src/lib/libvmmapi/common/vmmapi.h | 3 |
3 files changed, 2 insertions, 12 deletions
diff --git a/usr/src/lib/libvmmapi/common/mapfile-vers b/usr/src/lib/libvmmapi/common/mapfile-vers index f8fe6f058e..2489376b62 100644 --- a/usr/src/lib/libvmmapi/common/mapfile-vers +++ b/usr/src/lib/libvmmapi/common/mapfile-vers @@ -11,7 +11,7 @@ # # Copyright 2013 Pluribus Networks Inc. -# Copyright 2020 Joyent, Inc. +# Copyright 2019 Joyent, Inc. # Copyright 2020 Oxide Computer Company # Copyright 2021 OmniOS Community Edition (OmniOSce) Association. # @@ -38,7 +38,6 @@ SYMBOL_VERSION ILLUMOSprivate { vm_activate_cpu; vm_active_cpus; vm_apicid2vcpu; - vm_arc_resv; vm_assign_pptdev; vm_capability_name2type; vm_capability_type2name; 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__ diff --git a/usr/src/lib/libvmmapi/common/vmmapi.h b/usr/src/lib/libvmmapi/common/vmmapi.h index c244e03815..79c7dc02ee 100644 --- a/usr/src/lib/libvmmapi/common/vmmapi.h +++ b/usr/src/lib/libvmmapi/common/vmmapi.h @@ -38,7 +38,7 @@ * http://www.illumos.org/license/CDDL. * * Copyright 2015 Pluribus Networks Inc. - * Copyright 2020 Joyent, Inc. + * Copyright 2019 Joyent, Inc. * Copyright 2020 Oxide Computer Company */ @@ -316,7 +316,6 @@ int vm_get_run_state(struct vmctx *ctx, int vcpu, enum vcpu_run_state *state, uint8_t *sipi_vector); int vm_set_run_state(struct vmctx *ctx, int vcpu, enum vcpu_run_state state, uint8_t sipi_vector); -int vm_arc_resv(struct vmctx *ctx, size_t); #endif /* __FreeBSD__ */ #ifdef __FreeBSD__ |
