Re: xen.4: document how to inform Xen host of IP in VM

2021-10-21 Thread Klemens Nanni
On Thu, Oct 21, 2021 at 01:30:27PM +0200, Denis Fondras wrote:
> Document commands used to send VM IP to Xen host.

OK kn



xen.4: document how to inform Xen host of IP in VM

2021-10-21 Thread Denis Fondras
Document commands used to send VM IP to Xen host.

Index: xen.4
===
RCS file: /cvs/src/share/man/man4/xen.4,v
retrieving revision 1.2
diff -u -p -r1.2 xen.4
--- xen.4   21 Jul 2017 18:27:32 -  1.2
+++ xen.4   21 Oct 2021 11:23:14 -
@@ -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