xref: /openbsd-src/share/man/man4/vio.4 (revision 46035553bfdd96e63c94e32da0210227ec2e3cf1)
1.\"     $OpenBSD: vio.4,v 1.15 2015/09/24 13:11:48 sobrado Exp $
2.\"
3.\" Copyright (c) 2012 Stefan Fritsch <sf@sfritsch.de>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd $Mdocdate: September 24 2015 $
18.Dt VIO 4
19.Os
20.Sh NAME
21.Nm vio
22.Nd VirtIO network device
23.Sh SYNOPSIS
24.Cd "vio* at virtio? flags 0x00"
25.Sh DESCRIPTION
26The
27.Nm
28driver provides support for the
29.Xr virtio 4
30network interface provided by bhyve, KVM, QEMU, and VirtualBox.
31.Pp
32Setting the bit 0x2 in the flags disables the RingEventIndex feature.
33This can be tried as a workaround for possible bugs in host implementations of
34.Nm
35at the cost of slightly reduced performance.
36.Pp
37Setting the bit 0x100 in the flags forces the interface to be always in
38promiscuous mode.
39This can be used as a workaround for a bug in QEMU before version 1.7.2 that
40prevents packets with a VLAN tag from being sent to the guest.
41.Sh SEE ALSO
42.Xr intro 4 ,
43.Xr virtio 4
44.Sh HISTORY
45The
46.Nm
47driver first appeared in
48.Ox 5.3 .
49.Sh AUTHORS
50.An -nosplit
51The
52.Nm
53driver was ported to
54.Ox
55and improved by
56.An Stefan Fritsch Aq Mt sf@sfritsch.de .
57It is based on the
58.Nx
59.Nm vioif
60driver by
61.An Minoura Makoto .
62