From owner-freebsd-virtualization@FreeBSD.ORG Fri Jun 13 19:59:07 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 886AA1065673 for ; Fri, 13 Jun 2008 19:59:07 +0000 (UTC) (envelope-from jamie@gritton.org) Received: from gritton.org (gritton.org [161.58.222.4]) by mx1.freebsd.org (Postfix) with ESMTP id 390CF8FC0C for ; Fri, 13 Jun 2008 19:59:06 +0000 (UTC) (envelope-from jamie@gritton.org) Received: from guppy.corp.verio.net (fw.oremut02.us.wh.verio.net [198.65.168.24]) (authenticated bits=0) by gritton.org (8.13.6.20060614/8.13.6) with ESMTP id m5DJx6Zp022056 for ; Fri, 13 Jun 2008 13:59:06 -0600 (MDT) Message-ID: <4852D184.9060301@gritton.org> Date: Fri, 13 Jun 2008 13:59:00 -0600 From: James Gritton User-Agent: Thunderbird 2.0.0.9 (X11/20080228) MIME-Version: 1.0 To: freebsd-virtualization@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/7427/Tue Jun 10 14:09:35 2008 on gritton.org X-Virus-Status: Clean Subject: V_rootvnode 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: Fri, 13 Jun 2008 19:59:07 -0000 In merging vimage into jails, there's one field prison has that vimage lacks: pr_root. In planning for the merge, it would make sense to treat rootvnode like the pr_root of the base prison, i.e. use a V_rootvnode macro. As with the hostname, there are many places in the kernel where there's no reasonable context for anything other than the real root vnode. So in addition to the V_rootvnode, we'd want a G_rootvnode like the recently introduced G_hostname. - Jamie