Page MenuHomeFreeBSD

Allow sysctl kern.vm_guest to return bhyve when running under bhyve.
ClosedPublic

Authored by araujo on Jun 8 2017, 3:38 AM.

Details

Summary

Without this patch the kern.vm_guest always returns generic when
a vm is running under bhyve, after the patch it return bhyve.

Test Plan

[root@freenas] ~# sysctl kern.vm_guest
kern.vm_guest: generic

[root@freenas] ~# sysctl kern.vm_guest
kern.vm_guest: bhyve

Submitted by: Sean Fagan <sef@ixsystems.com>

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

araujo created this revision.Jun 8 2017, 3:38 AM
grehan accepted this revision.Jun 8 2017, 3:41 AM
This revision is now accepted and ready to land.Jun 8 2017, 3:41 AM
This revision was automatically updated to reflect the committed changes.