On Mon, May 18, 2020 at 08:12:00PM +0200, Klemens Nanni wrote:
> On Mon, May 18, 2020 at 01:20:07PM -0400, Kurt Mosiejczuk wrote:
> > Learning how LDOMs work on this T4-1 and we only create 8 devices
> > (each /dev/ldom* and /dev/ttyV*) by default. The now-commonly-available
> > T4-1 machines can do far more than that pretty easily, so bump up the
> > number created by default from 8 to 16.
> Seems reasonable, what about adopting vmd(8) CAVEATS for ldomd(8)?

> Running out of devices with more guests can be nasty do debug.

Here's an attempt at doing that. There isn't a man page for the ldom
devices nor is there one specifically for the ttyV* devices, so I left
the ".Xr" off of those.

ok?

--Kurt

Index: ldom.conf.5
===================================================================
RCS file: /cvs/src/usr.sbin/ldomctl/ldom.conf.5,v
retrieving revision 1.13
diff -u -p -r1.13 ldom.conf.5
--- ldom.conf.5 21 Feb 2020 19:39:28 -0000      1.13
+++ ldom.conf.5 19 May 2020 23:48:22 -0000
@@ -131,3 +131,10 @@ upon resetting the machine.
 .Pp
 If in doubt, leave enough memory unused for the hypervisor to reserve.
 On bigger T4 based machines, 1024 megabytes has proven to suffice.
+.Sh CAVEATS
+Each guest requires one ldom device and one ttyV device per configured logical
+domain.  Administrators may need to create additional devices using
+.Xr MAKEDEV 8
+if more than 16 logical domains are configured.
+
+

Reply via email to