From owner-freebsd-current@FreeBSD.ORG Fri Aug 15 18:33:19 2008 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65519106567A for ; Fri, 15 Aug 2008 18:33:19 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outK.internet-mail-service.net (outk.internet-mail-service.net [216.240.47.234]) by mx1.freebsd.org (Postfix) with ESMTP id 47D8F8FC17 for ; Fri, 15 Aug 2008 18:33: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 193C22385; Fri, 15 Aug 2008 11:33:19 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id 653A72D6093; Fri, 15 Aug 2008 11:33:18 -0700 (PDT) Message-ID: <48A5CBEE.6090603@elischer.org> Date: Fri, 15 Aug 2008 11:33:18 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: darrenr@freebsd.org References: <1218809394.10612.1268815905@webmail.messagingengine.com> In-Reply-To: <1218809394.10612.1268815905@webmail.messagingengine.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: arch@FreeBSD.org, Robert Watson , current@FreeBSD.org Subject: Re: Advanced warning: virtualization work will be afoot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2008 18:33:19 -0000 Darren Reed wrote: > Robert, > > Do you have any more information about what the details of > this virtualization work will be? e.g. will it be similar > to what Solaris has with zones? > > The reason that I ask is that I've just finished getting > the ipfilter code (non-Sun code) converted to being zone > aware. What does that mean? Lots of global variables are > gone, replaced by soft-context structures that are allocated > and free'd when zones come alive/die. For BSD, while all > of the code paths are the same, I'm currently only using > a single soft context and just pass around a pointer to > it. > > If you're going to be doing similar work for FreeBSD, I > will try and get this into the tree sooner, rather than > later, so that there's one less component that you need > to worry about. > > Cheers, > Darren look at the following document: http://perforce.freebsd.org/fileLogView.cgi?FSPC=//depot/projects/vimage/porting_to_vimage.txt sorry if that wraps there are patches at: also look at the patches in the ipfilter files in that branch. If you are doingthe work for zones then that will be applicable. BTW you might look at dropping all teh suport for freeBSD 3.x in your files :-) the aggregate diff can be found at: http://www.freebsd.org/~julian/vimage.diff. If you want to handle ipfilter yourself then we'd be happy to let you do it.