1.\" $NetBSD: virtio.4,v 1.9 2018/06/07 12:32:26 jakllsch Exp $ 2.\" 3.\" Copyright (c) 2011 The NetBSD Foundation, Inc. 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 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 17.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 18.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 19.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 20.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 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 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 25.\" POSSIBILITY OF SUCH DAMAGE. 26.\" 27.Dd June 7, 2018 28.Dt VIRTIO 4 29.Os 30.Sh NAME 31.Nm virtio 32.Nd Para-virtualized I/O in a virtual machine 33.Sh SYNOPSIS 34.Cd "virtio* at fdt?" 35.Cd "virtio* at pci? dev ? function ?" 36.Cd "ld* at virtio?" 37.Cd "vioif* at virtio?" 38.Cd "viomb* at virtio?" 39.Cd "viornd* at virtio?" 40.Cd "vioscsi* at virtio?" 41.Sh DESCRIPTION 42.Nm 43defines an interface for efficient, standard and extensible I/O between the 44hypervisor and the virtual machine. 45The 46.Nm 47device driver represents an emulated device that the hypervisor makes 48available to the virtual machine. 49.Pp 50.Nm 51driver itself provides the core infrastructure to communicate 52with the hypervisor (called virtqueues) and supports the following devices: 53.Bl -tag -width xxxxx 54.It Xr ld 4 55A Disk device. 56.It Xr vioif 4 57An Ethernet device. 58.It Xr viomb 4 59A pseudo-device to release memory back to the hypervisor. 60.It Xr viornd 4 61An entropy source. 62.It Xr vioscsi 4 63A SCSI adapter. 64.El 65.Sh SEE ALSO 66.Xr ld 4 , 67.Xr pci 4 , 68.Xr vioif 4 , 69.Xr viomb 4 , 70.Xr viornd 4 , 71.Xr vioscsi 4 72.Pp 73.Rs 74.%A Rusty Russell, IBM Corporation 75.%T Virtio PCI Card Specification 76.%U http://ozlabs.org/~rusty/virtio-spec/ 77.Re 78.Sh HISTORY 79The 80.Nm 81driver first appeared in 82.Nx 6.0 . 83