Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2009 13:20:57 -0600
From:      Jamie Gritton <jamie@FreeBSD.org>
To:        Julian Elischer <julian@elischer.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r194251 - in head/sys: kern net sys
Message-ID:  <4A369F19.5090406@FreeBSD.org>
In-Reply-To: <4A369E5C.3070807@elischer.org>
References:  <200906151859.n5FIxUbl098279@svn.freebsd.org> <4A369E5C.3070807@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer wrote:
> Jamie Gritton wrote:
>> Author: jamie
>> Date: Mon Jun 15 18:59:29 2009
>> New Revision: 194251
>> URL: http://svn.freebsd.org/changeset/base/194251
>>
>> Log:
>>   Manage vnets via the jail system.  If a jail is given the boolean
>>   parameter "vnet" when it is created, a new vnet instance will be 
>> created
>>   along with the jail.  Networks interfaces can be moved between prisons
>>   with an ioctl similar to the one that moves them between vimages.
>>   For now vnets will co-exist under both jails and vimages, but soon
>>   struct vimage will be going away.
>>     Reviewed by:    zec, julian
>>   Approved by:    bz (mentor)
>>
>> Modified:
>>   head/sys/kern/kern_jail.c
>>   head/sys/kern/kern_vimage.c
>>   head/sys/net/if.c
>>   head/sys/net/if.h
>>   head/sys/sys/jail.h
>>   head/sys/sys/priv.h
>>   head/sys/sys/sockio.h
>>   head/sys/sys/vimage.h
>>
> 
> 
> the ioctl will be in ifcofig right?
> 
> ifconfig em0 jail {Jail-ID}  ??

Right.  Perhaps "jail" and "unjail".  Some pair to move an interface
into a vnetted jail and to reclaim it from one.

- Jamie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A369F19.5090406>