summaryrefslogtreecommitdiff
path: root/usr/src/lib/libvmmapi/common/vmmapi.c
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2020-07-29 11:35:17 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2020-07-29 11:35:17 +0000
commitb190045b10d9c575d415b9c6e7f13dc6d0303000 (patch)
treecccf1c7f67fa99cd6dc1bf90fd8380e4e7c9a39f /usr/src/lib/libvmmapi/common/vmmapi.c
parentfd851958ac43e040125201c92bdfbe0cd5e4ad03 (diff)
parent5c1597bcad8dabd41c0a919fb8acfabd8054e924 (diff)
downloadillumos-joyent-release-20200730.tar.gz
[illumos-gate merge]release-20200730
commit 5c1597bcad8dabd41c0a919fb8acfabd8054e924 12992 loader: logo-illumos.4th needs to have mode resets commit abe1e6b305e672d0eedeb6b52003acac658c8371 12982 ambiguous instructions require an explicit suffix commit c3ae3afa3e57b39e29577c4b791adbe511bb7e3f 12916 bhyve should be able to limit vmx capabilities 12917 bhyve should always use Unrestricted Guest commit 22e68029451fec16a660c22ed1304b05ed67f43d 12973 add support for PCI-E rge cards
Diffstat (limited to 'usr/src/lib/libvmmapi/common/vmmapi.c')
-rw-r--r--usr/src/lib/libvmmapi/common/vmmapi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/lib/libvmmapi/common/vmmapi.c b/usr/src/lib/libvmmapi/common/vmmapi.c
index 9589d09ae1..7d3446a845 100644
--- a/usr/src/lib/libvmmapi/common/vmmapi.c
+++ b/usr/src/lib/libvmmapi/common/vmmapi.c
@@ -39,6 +39,7 @@
*
* Copyright 2015 Pluribus Networks Inc.
* Copyright 2019 Joyent, Inc.
+ * Copyright 2020 Oxide Computer Company
*/
#include <sys/cdefs.h>
@@ -1004,7 +1005,9 @@ static const char *capstrmap[] = {
[VM_CAP_HALT_EXIT] = "hlt_exit",
[VM_CAP_MTRAP_EXIT] = "mtrap_exit",
[VM_CAP_PAUSE_EXIT] = "pause_exit",
+#ifdef __FreeBSD__
[VM_CAP_UNRESTRICTED_GUEST] = "unrestricted_guest",
+#endif
[VM_CAP_ENABLE_INVPCID] = "enable_invpcid",
[VM_CAP_BPT_EXIT] = "bpt_exit",
};