From owner-freebsd-virtualization@FreeBSD.ORG Thu Jun 12 16:49:20 2008 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0775B1065688 for ; Thu, 12 Jun 2008 16:49:20 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outR.internet-mail-service.net (outr.internet-mail-service.net [216.240.47.241]) by mx1.freebsd.org (Postfix) with ESMTP id EA0388FC25 for ; Thu, 12 Jun 2008 16:49:19 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id F284524D0; Thu, 12 Jun 2008 09:49:34 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 452F62D6015; Thu, 12 Jun 2008 09:49:19 -0700 (PDT) Message-ID: <4851538E.7030004@elischer.org> Date: Thu, 12 Jun 2008 09:49:18 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421) MIME-Version: 1.0 To: James Gritton References: <200806120757.m5C7vm90085356@repoman.freebsd.org> <48514C4B.4070709@gritton.org> In-Reply-To: <48514C4B.4070709@gritton.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-virtualization@freebsd.org Subject: Re: PERFORCE change 143354 for review X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2008 16:49:20 -0000 James Gritton wrote: > Julian Elischer wrote: >> Use the real hostname for dumps >> it has been suggested that we define a R_hostname to mean Real >> hostname >> > > Another option, particularly for hostname, is just to leave the > "hostname" global variable. Right now both jail and vimage hostnames > are fixed arrays in their structures, but I'm considering going to > pointers instead (as a jail may or may not have a virtual hostname). > Then the "root jail" could just point to the static hostname[] array > which can continue to exist under its own name. > > It could be that hostname is the special case here, as far as having a > significant number of "global" references. Load average may have that > case too, but I'm not sure yet. Load average would be later on.. we are not planning on doing htat in this round. but you are right.. it is something where it makes sense in both global and local scope. Since vimage is hierarchical, I think however that it makes sense if the load average of a vimage includes the load average of children. thus the load average of the root vimage would be that of the whole machine. just an idea. > > - Jamie