summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDenis Fondras <denis@cvs.openbsd.org>2021-10-21 15:56:18 +0000
committerDenis Fondras <denis@cvs.openbsd.org>2021-10-21 15:56:18 +0000
commit1109dc7306494f9f5bf4919278b5167eecb171cc (patch)
treeeab8cc2739161de6779915f41c33be515706e0e6 /share
parentf6fa280225a16231c11a924245f2be76a5bdda32 (diff)
Document commands used to send VM IP to Xen host
OK kn@
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/xen.48
1 files changed, 6 insertions, 2 deletions
diff --git a/share/man/man4/xen.4 b/share/man/man4/xen.4
index 3d5201ecbf6..45cb7f985c9 100644
--- a/share/man/man4/xen.4
+++ b/share/man/man4/xen.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: xen.4,v 1.2 2017/07/21 18:27:32 mikeb Exp $
+.\" $OpenBSD: xen.4,v 1.3 2021/10/21 15:56:17 denis Exp $
.\"
.\" Copyright (c) 2015 Mike Belopuhov
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 21 2017 $
+.Dd $Mdocdate: October 21 2021 $
.Dt XEN 4
.Os
.Sh NAME
@@ -51,6 +51,10 @@ hostctl data/os_name "$ostype $osrelease"
hostctl data/os_uname $osrelease
hostctl data/os_distro $ostype
+# Inform Xen of IPs bound to the VM
+hostctl attr/vif/0/ipv4/0 192.0.2.1
+hostctl attr/vif/0/ipv6/0 2001:db8::1
+
# Update XenStore
hostctl data/updated 1
.Ed