On Mon, Jan 7, 2013 at 6:49 AM, John Baldwin <j...@freebsd.org> wrote: > On Saturday, January 05, 2013 02:18:51 PM Neel Natu wrote: >> Author: neel >> Date: Sat Jan 5 19:18:50 2013 >> New Revision: 245066 >> URL: http://svnweb.freebsd.org/changeset/base/245066 >> >> Log: >> Teach the kernel to recognize that it is executing inside a bhyve virtual >> machine. >> >> Obtained from: NetApp >> >> Modified: >> head/sys/kern/subr_param.c >> >> Modified: head/sys/kern/subr_param.c >> =========================================================================== >> === --- head/sys/kern/subr_param.c Sat Jan 5 18:48:23 2013 >> (r245065) >> +++ head/sys/kern/subr_param.c Sat Jan 5 19:18:50 2013 >> (r245066) >> @@ -160,6 +160,7 @@ static const char *const vm_bnames[] = { >> "Plex86", /* Plex86 */ >> "Bochs", /* Bochs */ >> "Xen", /* Xen */ >> + "BHYVE", /* bhyve */ >> NULL >> }; > > It would be nice to start using the CPUID leaf for VM's in preference to the > SMBIOS strings at some point. (I think it's level 0x40000000?)
Yes, that's a component of it. We need to make things a little more complicated when dealing with VMware, VirtualBox, etc, and Isilon has a vested interest (not much of one, but a bit of one) to make this more sane. Thanks! -Garrett _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"