| @@ -1,59 +1,60 @@ | | | @@ -1,59 +1,60 @@ |
1 | .\" $NetBSD: virtio.4,v 1.8 2017/05/16 23:21:53 jdolecek Exp $ | | 1 | .\" $NetBSD: virtio.4,v 1.9 2018/06/07 12:32:26 jakllsch Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2011 The NetBSD Foundation, Inc. | | 3 | .\" Copyright (c) 2011 The NetBSD Foundation, Inc. |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" | | 14 | .\" |
15 | .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS | | 15 | .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS |
16 | .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED | | 16 | .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED |
17 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | | 17 | .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
18 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS | | 18 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS |
19 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | | 19 | .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
20 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | | 20 | .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
21 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS | | 21 | .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
22 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN | | 22 | .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
23 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | | 23 | .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
24 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | | 24 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
25 | .\" POSSIBILITY OF SUCH DAMAGE. | | 25 | .\" POSSIBILITY OF SUCH DAMAGE. |
26 | .\" | | 26 | .\" |
27 | .Dd May 17, 2017 | | 27 | .Dd June 7, 2018 |
28 | .Dt VIRTIO 4 | | 28 | .Dt VIRTIO 4 |
29 | .Os | | 29 | .Os |
30 | .Sh NAME | | 30 | .Sh NAME |
31 | .Nm virtio | | 31 | .Nm virtio |
32 | .Nd Para-virtualized I/O in a virtual machine | | 32 | .Nd Para-virtualized I/O in a virtual machine |
33 | .Sh SYNOPSIS | | 33 | .Sh SYNOPSIS |
| | | 34 | .Cd "virtio* at fdt?" |
34 | .Cd "virtio* at pci? dev ? function ?" | | 35 | .Cd "virtio* at pci? dev ? function ?" |
35 | .Cd "ld* at virtio?" | | 36 | .Cd "ld* at virtio?" |
36 | .Cd "vioif* at virtio?" | | 37 | .Cd "vioif* at virtio?" |
37 | .Cd "viomb* at virtio?" | | 38 | .Cd "viomb* at virtio?" |
38 | .Cd "viornd* at virtio?" | | 39 | .Cd "viornd* at virtio?" |
39 | .Cd "vioscsi* at virtio?" | | 40 | .Cd "vioscsi* at virtio?" |
40 | .Sh DESCRIPTION | | 41 | .Sh DESCRIPTION |
41 | .Nm | | 42 | .Nm |
42 | defines an interface for efficient, standard and extensible I/O between the | | 43 | defines an interface for efficient, standard and extensible I/O between the |
43 | hypervisor and the virtual machine. | | 44 | hypervisor and the virtual machine. |
44 | The | | 45 | The |
45 | .Nm | | 46 | .Nm |
46 | device driver represents an emulated PCI device that the hypervisor makes | | 47 | device driver represents an emulated device that the hypervisor makes |
47 | available to the virtual machine. | | 48 | available to the virtual machine. |
48 | .Pp | | 49 | .Pp |
49 | .Nm | | 50 | .Nm |
50 | driver itself provides the core infrastructure to communicate | | 51 | driver itself provides the core infrastructure to communicate |
51 | with the hypervisor (called virtqueues) and supports the following devices: | | 52 | with the hypervisor (called virtqueues) and supports the following devices: |
52 | .Bl -tag -width xxxxx | | 53 | .Bl -tag -width xxxxx |
53 | .It Xr ld 4 | | 54 | .It Xr ld 4 |
54 | A Disk device. | | 55 | A Disk device. |
55 | .It Xr vioif 4 | | 56 | .It Xr vioif 4 |
56 | An Ethernet device. | | 57 | An Ethernet device. |
57 | .It Xr viomb 4 | | 58 | .It Xr viomb 4 |
58 | A pseudo-device to release memory back to the hypervisor. | | 59 | A pseudo-device to release memory back to the hypervisor. |
59 | .It Xr viornd 4 | | 60 | .It Xr viornd 4 |