Re: only open /dev/vmm once in vmd(8)

2023-01-14 Thread Dave Voutila
Dave Voutila writes: > During h2k22 there was some discussion around how vmd(8) manages vms and > the vmm(4) device's role. While looking into something related, I found > vmd opens /dev/vmm in each subprocess during the initial fork+execve > dance. > > The only vmd process that needs /dev/vmm

Re: only open /dev/vmm once in vmd(8)

2022-12-26 Thread Mischa
Hi Dave, Applied the patch on top of the previous two you provided and all looks good. Running four proper VMs (installed 7.2, with different amount of memory allocated, one of them with rpki-client) and booted ~40 with just bsd.rd. Some log messages I am seeing, which I didn't see/notice

only open /dev/vmm once in vmd(8)

2022-12-25 Thread Dave Voutila
During h2k22 there was some discussion around how vmd(8) manages vms and the vmm(4) device's role. While looking into something related, I found vmd opens /dev/vmm in each subprocess during the initial fork+execve dance. The only vmd process that needs /dev/vmm is the vmm process. The diff below