From owner-cvs-src-old@FreeBSD.ORG Sun May 31 12:14:25 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1745106566B for ; Sun, 31 May 2009 12:14:25 +0000 (UTC) (envelope-from svn@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id BDA9A8FC0C for ; Sun, 31 May 2009 12:14:25 +0000 (UTC) (envelope-from svn@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n4VCEPhl059586 for ; Sun, 31 May 2009 12:14:25 GMT (envelope-from svn@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n4VCEPi1059585 for cvs-src-old@freebsd.org; Sun, 31 May 2009 12:14:25 GMT (envelope-from svn@repoman.freebsd.org) Message-Id: <200905311214.n4VCEPi1059585@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to svn@repoman.freebsd.org using -f From: Subversion owner Date: Sun, 31 May 2009 12:10:13 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_prot.c kern_vimage.c src/sys/net if.c src/sys/sys sockio.h vimage.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2009 12:14:26 -0000 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