Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Sep 2008 11:42:31 -0700
From:      Julian Elischer <julian@elischer.org>
To:        =?ISO-8859-1?Q?Ermal_Lu=E7i?= <ermal.luci@gmail.com>
Cc:        FreeBSD virtualization mailing list <freebsd-virtualization@freebsd.org>
Subject:   Re: need help from pf developer(s)
Message-ID:  <48BEDA97.3030508@elischer.org>
In-Reply-To: <d5992baf0806301157r6572e41bt3e3620e2857dc4ff@mail.gmail.com>
References:  <4863F1B0.9060603@elischer.org>	 <d5992baf0806261247g10f560cax41446cc9123c756e@mail.gmail.com>	 <4863F509.2010408@elischer.org>	 <d5992baf0806261300j458df2d4jed9934a150b9fde9@mail.gmail.com>	 <4863F5A3.9060703@elischer.org>	 <9a542da30806261543x667875eej8a5b6fa9da773b12@mail.gmail.com>	 <486443D1.40302@elischer.org>	 <9a542da30806270850i788fe961qcf5fe80e32519e81@mail.gmail.com>	 <d5992baf0806301050m24297f21x8de19d9b4896cd66@mail.gmail.com>	 <48692C68.2030005@elischer.org> <d5992baf0806301157r6572e41bt3e3620e2857dc4ff@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ermal Luçi wrote:
 > On Fri, Jun 27, 2008 at 3:35 AM, Julian Elischer 
<julian@elischer.org> 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?





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48BEDA97.3030508>