Module Name: src Committed By: pooka Date: Wed Jul 3 19:21:12 UTC 2013
Modified Files: src/share/man/man4: virt.4 src/sys/rump/librump/rumpnet: rumpnet.ifspec Log Message: Having a system-supplied function interface to create virt(4) is not fully useful when the system doesn't supply anything to configure the interface with. So remove rump_virtif_create(), that functionality is now taken care of with ifcloner. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/virt.4 cvs rdiff -u -r1.2 -r1.3 src/sys/rump/librump/rumpnet/rumpnet.ifspec Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/share/man/man4/virt.4 diff -u src/share/man/man4/virt.4:1.2 src/share/man/man4/virt.4:1.3 --- src/share/man/man4/virt.4:1.2 Wed Nov 17 18:03:49 2010 +++ src/share/man/man4/virt.4 Wed Jul 3 19:21:12 2013 @@ -1,4 +1,4 @@ -.\" $NetBSD: virt.4,v 1.2 2010/11/17 18:03:49 wiz Exp $ +.\" $NetBSD: virt.4,v 1.3 2013/07/03 19:21:12 pooka Exp $ .\" .\" Copyright (c) 2010 Antti Kantee .\" All rights reserved. @@ -23,22 +23,16 @@ .\" INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd November 15, 2010 +.Dd July 3, 2013 .Dt VIRT 4 .Os .Sh NAME .Nm virt -.Nd rump virtual network interface -.Sh SYNOPSIS -.In rump/rump.h -.Ft int -.Fo rump_pub_virtif_create -.Fa "int num" -.Fc +.Nd rump kernel virtual network interface .Sh DESCRIPTION The .Nm -interface acts as a link between a rump virtual kernel and a host +interface acts as a link between a rump kernel and a host .Xr tap 4 interface. Interface number <n> always corresponds with the host tap interface tap<n>. @@ -48,28 +42,12 @@ is written into .Pa /dev/tap<n> and all data read from .Pa /dev/tap<n> -is passed as Ethernet input to the rump virtual kernel. +is passed as Ethernet input to the rump kernel. .Pp A .Nm -interface can be created in two ways: -.Bl -bullet -.It -Programmatically by calling -.Fn rump_pub_virtif_create . -.It -Dynamically at runtime with -.Xr ifconfig 8 -or equivalent using the -.Em create -command. -.El -.Pp -Destroying a -.Nm -interface is possible only through -.Xr ifconfig 8 -.Em destroy . +interface can be created and destroyed in the normal fashion with +.Xr ifconfig 8 . .Pp The host's .Xr tap 4 Index: src/sys/rump/librump/rumpnet/rumpnet.ifspec diff -u src/sys/rump/librump/rumpnet/rumpnet.ifspec:1.2 src/sys/rump/librump/rumpnet/rumpnet.ifspec:1.3 --- src/sys/rump/librump/rumpnet/rumpnet.ifspec:1.2 Tue Oct 20 23:28:50 2009 +++ src/sys/rump/librump/rumpnet/rumpnet.ifspec Wed Jul 3 19:21:11 2013 @@ -1,4 +1,4 @@ -; $NetBSD: rumpnet.ifspec,v 1.2 2009/10/20 23:28:50 pooka Exp $ +; $NetBSD: rumpnet.ifspec,v 1.3 2013/07/03 19:21:11 pooka Exp $ NAME|net PUBHDR|include/rump/rumpnet_if_pub.h @@ -8,5 +8,4 @@ WRAPPERS|librump/rumpnet/rumpnet_if_wrap ; type | name | args | attrs ; -int |virtif_create |int |WEAK int |shmif_create |const char *, int * |WEAK