Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src Document virtio(4).



details:   https://anonhg.NetBSD.org/src/rev/ea0555a6692c
branches:  trunk
changeset: 770980:ea0555a6692c
user:      hannken <hannken%NetBSD.org@localhost>
date:      Sat Nov 05 09:22:43 2011 +0000

description:
Document virtio(4).

diffstat:

 distrib/sets/lists/man/mi |   5 ++-
 share/man/man4/Makefile   |   6 ++--
 share/man/man4/ld.4       |  10 ++++--
 share/man/man4/virtio.4   |  63 +++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 76 insertions(+), 8 deletions(-)

diffs (165 lines):

diff -r 2f18457c77c5 -r ea0555a6692c distrib/sets/lists/man/mi
--- a/distrib/sets/lists/man/mi Sat Nov 05 08:49:24 2011 +0000
+++ b/distrib/sets/lists/man/mi Sat Nov 05 09:22:43 2011 +0000
@@ -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
diff -r 2f18457c77c5 -r ea0555a6692c share/man/man4/Makefile
--- a/share/man/man4/Makefile   Sat Nov 05 08:49:24 2011 +0000
+++ b/share/man/man4/Makefile   Sat Nov 05 09:22:43 2011 +0000
@@ -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 @@
        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 \
diff -r 2f18457c77c5 -r ea0555a6692c share/man/man4/ld.4
--- a/share/man/man4/ld.4       Sat Nov 05 08:49:24 2011 +0000
+++ b/share/man/man4/ld.4       Sat Nov 05 09:22:43 2011 +0000
@@ -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 @@
 .Xr mlx 4 ,
 .Xr sdmmc 4 ,
 .Xr twa 4 ,
-.Xr twe 4
+.Xr twe 4 ,
+.Xr virtio 4
 .Sh HISTORY
 The
 .Nm
diff -r 2f18457c77c5 -r ea0555a6692c share/man/man4/virtio.4
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/share/man/man4/virtio.4   Sat Nov 05 09:22:43 2011 +0000
@@ -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 .



Home | Main Index | Thread Index | Old Index