summaryrefslogtreecommitdiff
path: root/static/netbsd/man4/xvif.4
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 15:32:58 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 15:32:58 -0400
commit5cb84ec742fd33f78c8022863fadaa8d0d93e176 (patch)
tree1a81ca3665e6153923e40db7b0d988f8573ab59c /static/netbsd/man4/xvif.4
parenta59214f344567c037d5776879bcfc5fcc1d4d5f6 (diff)
feat: Added NetBSD man pages
Diffstat (limited to 'static/netbsd/man4/xvif.4')
-rw-r--r--static/netbsd/man4/xvif.4107
1 files changed, 107 insertions, 0 deletions
diff --git a/static/netbsd/man4/xvif.4 b/static/netbsd/man4/xvif.4
new file mode 100644
index 00000000..02caf9d8
--- /dev/null
+++ b/static/netbsd/man4/xvif.4
@@ -0,0 +1,107 @@
+.\" $NetBSD: xvif.4,v 1.6 2014/03/18 18:20:39 riastradh Exp $
+.\"
+.\" Copyright (c) 2011 The NetBSD Foundation, Inc.
+.\" All rights reserved.
+.\"
+.\" This code is derived from software contributed to The NetBSD Foundation
+.\" by Jean-Yves Migeon <jym@NetBSD.org>.
+.\"
+.\" 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 April 7, 2011
+.Dt XVIF 4 xen
+.Os
+.Sh NAME
+.Nm xvif
+.Nd Xen backend paravirtualized network interface
+.Sh SYNOPSIS
+.Cd pseudo-device xvif
+.Sh DESCRIPTION
+The
+.Nm
+interface forms the backend part of the paravirtualized drivers
+used by
+.Tn Xen
+domains to offer network connectivity.
+.Pp
+When the guest domain is
+.Nx ,
+the endpoint of the
+.Nm
+interface is a
+.Xr xennet 4
+interface.
+In the XenStore,
+.Nm xvif
+and
+.Nm xennet
+are identified by
+.Dq vif
+(virtual interface)
+entries.
+.Pp
+All
+.Nm
+interfaces follow the
+.Dq xvifXiY
+naming convention, where
+.Sq X
+represents the guest domain identifier, and
+.Sq Y
+an arbitrary identifier; most of the time, it is the
+frontend interface identifier, e.g.
+.Dq xennetY .
+.Pp
+For convenience, the MAC address of an
+.Nm
+interface is chosen by incrementing the third byte of the
+MAC address of the frontend device.
+.Pp
+Conceptually, frontends and backends drivers are
+similar to two Ethernet cards connected via a crossover cable.
+.Sh DIAGNOSTICS
+.Bl -diag
+.It "xvif%di%d: can't read %s/mac: %d"
+The MAC address for this interface could not be read from XenStore.
+.It "xvif%di%d: %s is not a valid mac address"
+The MAC address specified in the configuration file of the newly
+created guest domain is invalid.
+.It "xvif%di%d: Ethernet address %s"
+MAC address of the
+.Nm
+interface.
+.El
+.Sh SEE ALSO
+.Xr ifmedia 4 ,
+.Xr xennet 4 ,
+.Xr ifconfig 8
+.Sh HISTORY
+The
+.Nm
+driver first appeared in
+.Nx 4.0 .
+.Sh AUTHORS
+.An -nosplit
+The
+.Nm
+driver was written by
+.An Manuel Bouyer Aq Mt bouyer@NetBSD.org .