Re: vmd(8) fix error handling when hitting rlimit

2022-02-27 Thread Mischa
Hi Dave, This is great! Had some surprises when allocating 32G, I think the limit is just a little bit lower than 32G, and indeed... lots of loud silence. :) Mischa On 2022-02-27 01:27, Dave Voutila wrote: Following the discusion on misc@ and a diff from tedu@ [1], here's a bit more work

Re: vmd(8) fix error handling when hitting rlimit

2022-02-26 Thread Ted Unangst
On 2022-02-26, Dave Voutila wrote: > Following the discusion on misc@ and a diff from tedu@ [1], here's a bit > more work cleaning up the issue in vmd(8) to prevent vmd dying if a user > tries to create a vm with memory above the rlimit. > > I changed tedu's diff a bit to make it less verbose and

vmd(8) fix error handling when hitting rlimit

2022-02-26 Thread Dave Voutila
Following the discusion on misc@ and a diff from tedu@ [1], here's a bit more work cleaning up the issue in vmd(8) to prevent vmd dying if a user tries to create a vm with memory above the rlimit. I changed tedu's diff a bit to make it less verbose and print a value that's human readable using