Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jun 2008 11:03:58 -0600
From:      James Gritton <jamie@gritton.org>
To:        freebsd-virtualization@freebsd.org
Subject:   Re: R_xxx counterparts to the V_xxx macros
Message-ID:  <484ABF7E.3050601@gritton.org>
In-Reply-To: <484ABC90.9070301@elischer.org>
References:  <484A23EE.8080308@gritton.org> <484ABC90.9070301@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote:
> It's an interesting idea, however what is the "real" hostname?
> what makes one vimage the 'real' one?

You could ask this if all images were indeed equal.  However, they're 
hierarchical, and there's one that is there when the box starts up, and 
can't be gotten rid of.  If there weren't a "real" hostname, there would 
never be a place in the code where you don't have a better choice than 
using thread0's credential.

> I wouldn't do it for all variables however.. 

Quite true.  I suspect that most variables replaced by vnet always have 
a context that they naturally belong to, and would never need to know 
about a "real" value.  I think it's the few that are outside of vnet 
that would most show this.

My focus right now is jail integration, so these are the parts that I 
notice, as vnet wouldn't be integrated with jails so much as placed on 
top of them (as they are now placed on top of vimage which is almost but 
not quite entirely vnet).

- Jamie



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