svn commit: r185772 - head/sys/kern

Jung-uk Kim jkim at FreeBSD.org
Mon Dec 8 11:44:40 PST 2008


On Monday 08 December 2008 02:22 pm, Ivan Voras wrote:
> 2008/12/8 Ivan Voras <ivoras at gmail.com>:
> > Hi,
> >
> > How about introducing a read-only sysctl, something like
> > kern.in_vm that would be
> >
> > 0 : none detected / as far as we can tell we're on bare metal
> > 1 : if detect_virtual() returns 1
> > 2 : Xen dom-U
> > 3, etc... for future use, like VMWare VMI, etc.
> >
> > ?
> >
> > (of course, for symmetry, if we ever support any hosting for full
> > virtualization, another sysctl might be introduced as a bitmap :)
> > ).
>
> Patch suggested:
> http://people.freebsd.org/~ivoras/diffs/subr_param.c.diff.txt

Personally I have no preference but I think you should move this 
discussion to freebsd-emulation@ and freebsd-virtualization at .

Jung-uk Kim


More information about the svn-src-head mailing list