Re: Add CAVEATS to ldom.conf(5) man page

2020-05-20 Thread Kurt Mosiejczuk
On Wed, May 20, 2020 at 09:35:39AM -0600, Theo de Raadt wrote: > Kurt Mosiejczuk wrote: > > I suppose we could look at having ldomctl throw a warning if there are not > > enough ldom and ttyV devices for the configuration file presented. > Maybe it can test access to the required resources as

Re: Add CAVEATS to ldom.conf(5) man page

2020-05-20 Thread Klemens Nanni
On Wed, May 20, 2020 at 02:01:34PM +0200, Ingo Schwarze wrote: > Now, maybe, some manual page somewhere might say something like > "this program uses .Pa /dev/ldom* device nodes (or .Xr ldom 4 devices) > to do foobar; make sure you have enough of those". Judging from > commands like > >$ man

Re: Add CAVEATS to ldom.conf(5) man page

2020-05-20 Thread Theo de Raadt
Kurt Mosiejczuk wrote: > I suppose we could look at having ldomctl throw a warning if there are not > enough ldom and ttyV devices for the configuration file presented. Maybe it can test access to the required resources as it starts up.

Re: Add CAVEATS to ldom.conf(5) man page

2020-05-20 Thread Kurt Mosiejczuk
On Wed, May 20, 2020 at 09:24:20AM -0600, Theo de Raadt wrote: > Kurt Mosiejczuk wrote: > > > 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

Re: Add CAVEATS to ldom.conf(5) man page

2020-05-20 Thread Theo de Raadt
Kurt Mosiejczuk wrote: > 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

Re: Add CAVEATS to ldom.conf(5) man page

2020-05-20 Thread Ingo Schwarze
Hi Jason, Jason McIntyre wrote on Wed, May 20, 2020 at 06:38:18AM +0100: > i'm fine with the text, but does it really warrant a CAVEATS section? it > sounds like it should just be part of "this is how it works" text. I may not be the best person to judge this, but as far as i understand, this

Re: Add CAVEATS to ldom.conf(5) man page

2020-05-19 Thread Jason McIntyre
On Wed, May 20, 2020 at 02:30:31AM +0200, Ingo Schwarze wrote: > Hi Kurt, > > Kurt Mosiejczuk wrote on Tue, May 19, 2020 at 07:49:56PM -0400: > > 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

Re: Add CAVEATS to ldom.conf(5) man page

2020-05-19 Thread Ingo Schwarze
Hi Kurt, Kurt Mosiejczuk wrote on Tue, May 19, 2020 at 07:49:56PM -0400: > 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*