From abc2f340223bdd3112aa273ee9a6a86107bdc598 Mon Sep 17 00:00:00 2001 From: Reyk Floeter Date: Thu, 23 Jul 2015 12:08:43 +0000 Subject: Add the bhyve id to recognize if we're running under this hypervisor. OK mlarkin@ --- sys/dev/pv/pvvar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/dev/pv/pvvar.h') 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 @@ -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); -- cgit v1.2.3