summaryrefslogtreecommitdiff
path: root/sys/dev/pv/pvvar.h
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2015-07-23 12:08:43 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2015-07-23 12:08:43 +0000
commitabc2f340223bdd3112aa273ee9a6a86107bdc598 (patch)
tree0aecbafb54857b1f30d06d371da5905673dd0ecd /sys/dev/pv/pvvar.h
parentc841375cdf5c3ca86d91b48113efc6f5e02b2863 (diff)
Add the bhyve id to recognize if we're running under this hypervisor.
OK mlarkin@
Diffstat (limited to 'sys/dev/pv/pvvar.h')
-rw-r--r--sys/dev/pv/pvvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pv/pvvar.h b/sys/dev/pv/pvvar.h
index efaf78d3102..c5b5777e2ec 100644
--- a/sys/dev/pv/pvvar.h
+++ b/sys/dev/pv/pvvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pvvar.h,v 1.2 2015/07/21 17:59:58 reyk Exp $ */
+/* $OpenBSD: pvvar.h,v 1.3 2015/07/23 12:08:42 reyk Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@@ -39,6 +39,7 @@ extern int has_hv_cpuid;
#define PVBUS_HYPERV 0x02
#define PVBUS_VMWARE 0x04
#define PVBUS_XEN 0x08
+#define PVBUS_BHYVE 0x10
int pvbus_probe(void);