Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 2008 14:44:19 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        "Ivan Voras" <ivoras@gmail.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r185772 - head/sys/kern
Message-ID:  <200812081444.25575.jkim@FreeBSD.org>
In-Reply-To: <9bbcef730812081122r2b1fb938s6201aeee7756b884@mail.gmail.com>
References:  <200812081839.mB8IdxbT067657@svn.freebsd.org> <9bbcef730812081101o52905c4ak56acfb784bd58d16@mail.gmail.com> <9bbcef730812081122r2b1fb938s6201aeee7756b884@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 08 December 2008 02:22 pm, Ivan Voras wrote:
> 2008/12/8 Ivan Voras <ivoras@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@.

Jung-uk Kim



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812081444.25575.jkim>