Re: [patch] Fix vmd for user VMs

2022-09-24 Thread Dave Voutila
Matthew Martin writes: > When vmd/vmctl switched to handling memory in bytes, seems a few places > for user VMs were missed. Additionally the first hunk removes the quota > hit if the VM will not be created. > Thanks, I'll take a deeper look this week. I don't use the user quota pieces, so

Re: httpd: default to text/plain for .diff and .patch

2022-09-24 Thread Omar Polo
On 2022/09/23 21:37:13 +, Klemens Nanni wrote: > In the few places I run httpd(8) patches usually float around and I do > look at them with Firefox. > > But unless httpd.conf(5) contains `types { text/plain diff patch }' the > browser will download the file instead of displaying it as text.

Re: vm.conf.5: Use the proper macros

2022-09-24 Thread Jason McIntyre
On Fri, Sep 23, 2022 at 05:41:41PM -0400, Josiah Frentsos wrote: > Index: vm.conf.5 > === hi. some comments, inline: > RCS file: /cvs/src/usr.sbin/vmd/vm.conf.5,v > retrieving revision 1.59 > diff -u -p -r1.59 vm.conf.5 > ---

Re: vm.conf.5: Use the proper macros

2022-09-24 Thread Josiah Frentsos
--- vm.conf.5 +++ vm.conf.5 @@ -117,8 +117,11 @@ a random prefix from the .Dq unique local network range fd00::/8 will be generated on startup. The specified prefix length must be /64 or smaller. -.It Cm socket owner Ar user : Ns Ar group -Set the control socket owner to the specified user and

Re: vm.conf.5: Use the proper macros

2022-09-24 Thread Josiah Frentsos
--- vm.conf.5 +++ vm.conf.5 @@ -25,8 +25,7 @@ .Nm is the configuration file to configure the virtual machine monitor (VMM) subsystem. -A VMM manages virtual machines (VMs) on a -.Ar host . +A VMM manages virtual machines (VMs) on a host. The VMM subsystem is responsible for creating,

Re: vm.conf.5: Use the proper macros

2022-09-24 Thread Jason McIntyre
On Sat, Sep 24, 2022 at 10:09:06AM -0400, Josiah Frentsos wrote: > --- vm.conf.5 > +++ vm.conf.5 > @@ -25,8 +25,7 @@ > .Nm > is the configuration file to configure the virtual machine monitor > (VMM) subsystem. > -A VMM manages virtual machines (VMs) on a > -.Ar host . > +A VMM manages virtual

Re: execve.2: Use the proper macros for the #! line

2022-09-24 Thread Jason McIntyre
On Fri, Sep 23, 2022 at 10:04:45AM -0400, Josiah Frentsos wrote: > Index: execve.2 > === > RCS file: /cvs/src/lib/libc/sys/execve.2,v > retrieving revision 1.56 > diff -u -p -r1.56 execve.2 > --- execve.2 31 Mar 2022 17:27:16 -

Re: [RFC] Adding ESRT and EFI variables for fwupd

2022-09-24 Thread Sergii Dmytruk
Hello Mark, Thanks for the patch. I've rebased my changes on top of it, then went ahead and implemented FreeBSD-like API for variables and ESRT [1]. Lack of kernel API was blocking user-space development and I'll rather just rebase later again than wait. Feel free to use the code to not

mpii(4): document/handle RAID 1E, bioctl(8): print it as such

2022-09-24 Thread Klemens Nanni
On a sparc64 T4-2 I boot OpenBSD from hardware RAID 1E using the built-in controller: mpii0 at pci15 dev 0 function 0 "Symbios Logic SAS2008" rev 0x03: msi mpii0: Solana On-Board, firmware 9.0.0.0 IR, MPI 2.0 scsibus1 at mpii0: 834 targets sd0 at scsibus1 targ 0

Re: wsmouse(4): Apple-like multi-touch buttons

2022-09-24 Thread Mark Kettenis
> Date: Sun, 18 Sep 2022 14:21:06 +0200 > From: Tobias Heider > > Hi, > > the diff below adds a new mouse type WSMOUSE_TYPE_APPLE which emulates Apples > touchpad behaviour. Instead of mapping soft-buttons to an area on the pad, > the different mouse buttons are mapped to single-finger,