Home | History | Annotate | Line # | Download | only in man4
 $NetBSD: virtio.4,v 1.11 2024/08/01 09:38:50 uwe 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 June 7, 2018 .Dt VIRTIO 4 .Os .Sh NAME .Nm virtio .Nd Para-virtualized I/O in a virtual machine .Sh SYNOPSIS .Cd "virtio* at fdt?" .Cd "virtio* at pci? dev ? function ?" .Cd "ld* at virtio?" .Cd "viocon* at virtio?" .Cd "vioif* at virtio?" .Cd "viomb* at virtio?" .Cd "viornd* at virtio?" .Cd "vioscsi* 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 device that the hypervisor makes available to the virtual machine.

p .Nm driver itself provides the core infrastructure to communicate with the hypervisor (called virtqueues) and supports the following devices:

p l -tag -width Xr -compact t Xr ld 4 A Disk device. t Xr viocon 4 Console device. t Xr vioif 4 An Ethernet device. t Xr viomb 4 A pseudo-device to release memory back to the hypervisor. t Xr viornd 4 An entropy source. t Xr vioscsi 4 A SCSI adapter. .El .Sh SEE ALSO .Xr ld 4 , .Xr pci 4 , .Xr viocon 4 , .Xr vioif 4 , .Xr viomb 4 , .Xr viornd 4 , .Xr vioscsi 4

p .Rs .%A Rusty Russell, IBM Corporation .%T Virtio PCI Card Specification .%U http://ozlabs.org/~rusty/virtio-spec/ .Re .Rs .%T Virtual I/O Device (VIRTIO) Version 1.0 .%U https://docs.oasis-open.org/virtio/virtio/v1.0/virtio-v1.0.html .Re .Sh HISTORY The .Nm driver first appeared in .Nx 6.0 .