From d6e4fb617d7baf1734cb8b11f3c752b48baf0cbc Mon Sep 17 00:00:00 2001 From: denis Date: Thu, 21 Oct 2021 15:56:17 +0000 Subject: [PATCH] Document commands used to send VM IP to Xen host OK kn@ --- share/man/man4/xen.4 | 8 ++++++-- 1 file 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 -- 2.20.1