From owner-freebsd-virtualization@FreeBSD.ORG Wed Sep 3 18:42:27 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 E76361065671 for ; Wed, 3 Sep 2008 18:42:27 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outJ.internet-mail-service.net (outj.internet-mail-service.net [216.240.47.233]) by mx1.freebsd.org (Postfix) with ESMTP id C99978FC17 for ; Wed, 3 Sep 2008 18:42:27 +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 CFF2D249C; Wed, 3 Sep 2008 11:42:27 -0700 (PDT) Received: from julian-mac.elischer.org (localhost [127.0.0.1]) by idiom.com (Postfix) with ESMTP id E6F792D602C; Wed, 3 Sep 2008 11:42:24 -0700 (PDT) Message-ID: <48BEDA97.3030508@elischer.org> Date: Wed, 03 Sep 2008 11:42:31 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.16 (Macintosh/20080707) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Ermal_Lu=E7i?= References: <4863F1B0.9060603@elischer.org> <4863F509.2010408@elischer.org> <4863F5A3.9060703@elischer.org> <9a542da30806261543x667875eej8a5b6fa9da773b12@mail.gmail.com> <486443D1.40302@elischer.org> <9a542da30806270850i788fe961qcf5fe80e32519e81@mail.gmail.com> <48692C68.2030005@elischer.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: FreeBSD virtualization mailing list Subject: Re: need help from pf developer(s) 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: Wed, 03 Sep 2008 18:42:28 -0000 Ermal Luçi wrote: > On Fri, Jun 27, 2008 at 3:35 AM, Julian Elischer wrote:>> The aim is that in each virtual machine we want a separate pf instance. >> >> Usually this means making all the globals in the relavent module >> be a structure element in a stucture, and accessing them via the >> V_xxx macros instead so that they can be accessed via the structure instead >> of as globals when vimage is enabled. >> >> I haven't time to give details right now but I'll get back to you with more >> details later. >> >> > Out of curiosity since this is a symbol game. > > Do static vars be handled specially to?! > > I am close to finish a patch for this but need to know how do you > handle static symbols. > ok so we are ready now... there is a document that describes what is needed: http://perforce.freebsd.org/fileLogView.cgi?FSPC=//depot/projects/vimage/porting_to_vimage.txt static variables hav eto be added to the structure that will be used.. the current pf changes can be seen in: http://perforce.freebsd.org/depotTreeBrowser.cgi?FSPC=//depot/projects/vimage/src/sys or in http://www.freebsd.org/~julian/vimage.diff can you send me the diff that you did so far and we can discuss it?