Allow sysctl kern.vm_guest to return bhyve when running under bhyve.
authorMarcelo Araujo <araujo@FreeBSD.org>
Thu, 8 Jun 2017 04:02:14 +0000 (04:02 +0000)
committerMarcelo Araujo <araujo@FreeBSD.org>
Thu, 8 Jun 2017 04:02:14 +0000 (04:02 +0000)
commite0a6a23c6d155ffa03c934f2f06c3c7362e276e8
tree1b849cc9e9567d4a5423328a681becdd41b51175
parent7ce44f08f52e05a8f67337058523923d35b2d79f
Allow sysctl kern.vm_guest to return bhyve when running under bhyve.

Submitted by: Sean Fagan <sef@ixsystems.com>
Reviewed by: grehan
MFH: 4 weeks.
Sponsored by: iXsystems, Inc.
Differential Revision: https://reviews.freebsd.org/D11090
sys/kern/subr_param.c
sys/sys/systm.h
sys/x86/x86/identcpu.c