Module Name:    src
Committed By:   hannken
Date:           Sat Nov  5 09:22:44 UTC 2011

Modified Files:
        src/distrib/sets/lists/man: mi
        src/share/man/man4: Makefile ld.4
Added Files:
        src/share/man/man4: virtio.4

Log Message:
Document virtio(4).


To generate a diff of this commit:
cvs rdiff -u -r1.1351 -r1.1352 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.572 -r1.573 src/share/man/man4/Makefile
cvs rdiff -u -r1.18 -r1.19 src/share/man/man4/ld.4
cvs rdiff -u -r0 -r1.1 src/share/man/man4/virtio.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/man/mi
diff -u src/distrib/sets/lists/man/mi:1.1351 src/distrib/sets/lists/man/mi:1.1352
--- src/distrib/sets/lists/man/mi:1.1351	Thu Oct 27 22:12:24 2011
+++ src/distrib/sets/lists/man/mi	Sat Nov  5 09:22:43 2011
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1351 2011/10/27 22:12:24 rkujawa Exp $
+# $NetBSD: mi,v 1.1352 2011/11/05 09:22:43 hannken Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -1786,6 +1786,7 @@
 ./usr/share/man/cat4/video.0			man-sys-catman		.cat
 ./usr/share/man/cat4/vinum.0			man-obsolete		obsolete
 ./usr/share/man/cat4/virt.0			man-sys-catman		.cat
+./usr/share/man/cat4/virtio.0			man-sys-catman		.cat
 ./usr/share/man/cat4/vlan.0			man-sys-catman		.cat
 ./usr/share/man/cat4/vmmon.0			man-sys-catman		.cat
 ./usr/share/man/cat4/vmnet.0			man-sys-catman		.cat
@@ -4544,6 +4545,7 @@
 ./usr/share/man/html4/viaide.html		man-sys-htmlman		html
 ./usr/share/man/html4/video.html		man-sys-htmlman		html
 ./usr/share/man/html4/virt.html			man-sys-htmlman		html
+./usr/share/man/html4/virtio.html		man-sys-htmlman		html
 ./usr/share/man/html4/vlan.html			man-sys-htmlman		html
 ./usr/share/man/html4/vmmon.html		man-sys-htmlman		html
 ./usr/share/man/html4/vmnet.html		man-sys-htmlman		html
@@ -7237,6 +7239,7 @@
 ./usr/share/man/man4/video.4			man-sys-man		.man
 ./usr/share/man/man4/vinum.4			man-obsolete		obsolete
 ./usr/share/man/man4/virt.4			man-sys-man		.man
+./usr/share/man/man4/virtio.4			man-sys-man		.man
 ./usr/share/man/man4/vlan.4			man-sys-man		.man
 ./usr/share/man/man4/vmmon.4			man-sys-man		.man
 ./usr/share/man/man4/vmnet.4			man-sys-man		.man

Index: src/share/man/man4/Makefile
diff -u src/share/man/man4/Makefile:1.572 src/share/man/man4/Makefile:1.573
--- src/share/man/man4/Makefile:1.572	Tue Oct 18 10:19:12 2011
+++ src/share/man/man4/Makefile	Sat Nov  5 09:22:44 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.572 2011/10/18 10:19:12 wiz Exp $
+#	$NetBSD: Makefile,v 1.573 2011/11/05 09:22:44 hannken Exp $
 #	@(#)Makefile	8.1 (Berkeley) 6/18/93
 
 MAN=	aac.4 ac97.4 acardide.4 aceride.4 acphy.4 \
@@ -60,8 +60,8 @@ MAN=	aac.4 ac97.4 acardide.4 aceride.4 a
 	ti.4 tl.4 tlp.4 tlphy.4 \
 	tp.4 tr.4 tra.4 trm.4 tty.4 tun.4 tqphy.4 twa.4 twe.4 txp.4 \
 	uark.4 ubsec.4 udp.4 uep.4 ug.4 uha.4 uk.4 ukphy.4 unix.4 userconf.4 \
-	vald.4 veriexec.4 vga.4 vge.4 viaide.4 video.4 virt.4 vlan.4 vmmon.4 \
-	vmnet.4 vnd.4 vr.4 vte.4 \
+	vald.4 veriexec.4 vga.4 vge.4 viaide.4 video.4 virt.4 virtio.4 vlan.4 \
+	vmmon.4 vmnet.4 vnd.4 vr.4 vte.4 \
 	wapbl.4 wb.4 wbsio.4 wd.4 wdc.4 wi.4 wm.4 wpi.4 \
 	wscons.4 wsdisplay.4 wsfont.4 wskbd.4 wsmouse.4 wsmux.4 \
 	xbox.4 xge.4 \

Index: src/share/man/man4/ld.4
diff -u src/share/man/man4/ld.4:1.18 src/share/man/man4/ld.4:1.19
--- src/share/man/man4/ld.4:1.18	Wed Apr 22 07:19:50 2009
+++ src/share/man/man4/ld.4	Sat Nov  5 09:22:44 2011
@@ -1,4 +1,4 @@
-.\"	$NetBSD: ld.4,v 1.18 2009/04/22 07:19:50 wiz Exp $
+.\"	$NetBSD: ld.4,v 1.19 2011/11/05 09:22:44 hannken Exp $
 .\"
 .\" Copyright (c) 2000 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd April 22, 2009
+.Dd November 5, 2011
 .Dt LD 4
 .Os
 .Sh NAME
@@ -36,6 +36,7 @@
 .Sh SYNOPSIS
 .Cd "ld* at aac? unit ?"
 .Cd "ld* at amr? unit ?"
+.Cd "ld* at ataraid? vendtype ? unit ?"
 .Cd "ld* at cac? unit ?"
 .Cd "ld* at icp? unit ?"
 .Cd "ld* at iop? tid ?"
@@ -43,7 +44,7 @@
 .Cd "ld* at sdmmc?"
 .Cd "ld* at twa? unit ?"
 .Cd "ld* at twe? unit ?"
-.Cd "ld* at ataraid? vendtype ? unit ?"
+.Cd "ld* at virtio?"
 .Sh DESCRIPTION
 The
 .Nm
@@ -72,7 +73,8 @@ partition
 .Xr mlx 4 ,
 .Xr sdmmc 4 ,
 .Xr twa 4 ,
-.Xr twe 4
+.Xr twe 4 ,
+.Xr virtio 4
 .Sh HISTORY
 The
 .Nm

Added files:

Index: src/share/man/man4/virtio.4
diff -u /dev/null src/share/man/man4/virtio.4:1.1
--- /dev/null	Sat Nov  5 09:22:44 2011
+++ src/share/man/man4/virtio.4	Sat Nov  5 09:22:44 2011
@@ -0,0 +1,63 @@
+.\"	$NetBSD: virtio.4,v 1.1 2011/11/05 09:22:44 hannken Exp $
+.\"
+.\" Copyright (c) 2011 The NetBSD Foundation, Inc.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
+.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
+.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+.\" CONTRACT, STRICT LIABILITY, OR TORT (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 5, 2011
+.Dt VIRTIO 4
+.Os
+.Sh NAME
+.Nm virtio
+.Nd Para-virtualized I/O in a virtual machine.
+.Sh SYNOPSIS
+.Cd "virtio* at pci? dev ? function ?"
+.Cd "ld* at virtio?"
+.Cd "vioif* at virtio?"
+.Cd "viomb* at virtio?"
+.Sh DESCRIPTION
+.Nm
+defines an interface for efficient, standard and extensible I/O between the
+hypervisor and the virtual machine.
+The
+.Nm
+device driver represents an emulated PCI device that the hypervisor makes
+available to the virtual machine.
+.Pp
+.Nm
+supports the following devices:
+.Bl -tag -width xxxxx
+.It Nm ld
+A Disk device.
+.It Nm vioif
+An Ethernet device.
+.It Nm viomb
+A pseudo-device to release memory back to the hypervisor.
+.El
+.Sh SEE ALSO
+.Xr ld 4
+.Sh HISTORY
+The
+.Nm
+driver first appeared in
+.Nx 6.0 .

Reply via email to