Date: Sun, 31 May 2009 12:10:13 +0000 (UTC) From: Subversion owner <svn@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/kern kern_prot.c kern_vimage.c src/sys/net if.c src/sys/sys sockio.h vimage.h Message-ID: <200905311214.n4VCEPi1059585@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
svn 2009-05-31 12:10:13 UTC
FreeBSD src repository
Modified files:
sys/kern kern_prot.c kern_vimage.c
sys/net if.c
sys/sys sockio.h vimage.h
Log:
SVN rev 193166 on 2009-05-31 12:10:13Z by svn
Introduce an interm userland-kernel API for creating vnets and
assigning ifnets from one vnet to another. Deletion of vnets is not
yet supported.
The interface is implemented as an ioctl extension so that no syscalls
had to be introduced. This should be acceptable given that the new
interface will be used for a short / interim period only, until the
new jail management framwork gains the capability of managing vnets.
This method for managing vimages / vnets has been in use for the past
7 years without any observable issues.
The userland tool to be used in conjunction with the interim API can be
found in p4: //depot/projects/vimage-commit2/src/usr.sbin/vimage/... and
will most probably never get commited to svn.
While here, bump copyright notices in kern_vimage.c and vimage.h to
cover work done in year 2009.
Approved by: julian (mentor)
Discussed with: bz, rwatson
Revision Changes Path
1.219 +5 -1 src/sys/kern/kern_prot.c
1.9 +377 -27 src/sys/kern/kern_vimage.c
1.331 +15 -0 src/sys/net/if.c
1.33 +4 -0 src/sys/sys/sockio.h
1.28 +34 -2 src/sys/sys/vimage.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905311214.n4VCEPi1059585>
