Re: migrate vmd/vmm/vmctl to use bytes, not MBs

2022-05-02 Thread Mike Larkin
On Mon, May 02, 2022 at 04:09:19PM -0400, Dave Voutila wrote: > > Dave Voutila writes: > > > tech@, > > > > tl;dr: standardize vmd/vmm/vmctl on counting memory in bytes at all > > times instead of a mix of MiB and bytes. > > > > There's some design friction between vmd(8)/vmctl(8) and vmm(4). > >

Re: migrate vmd/vmm/vmctl to use bytes, not MBs

2022-05-02 Thread Dave Voutila
Dave Voutila writes: > tech@, > > tl;dr: standardize vmd/vmm/vmctl on counting memory in bytes at all > times instead of a mix of MiB and bytes. > > There's some design friction between vmd(8)/vmctl(8) and vmm(4). > > For instance, the user-facing code deals in MiB, but internally a vm's >

migrate vmd/vmm/vmctl to use bytes, not MBs

2022-05-02 Thread Dave Voutila
tech@, tl;dr: standardize vmd/vmm/vmctl on counting memory in bytes at all times instead of a mix of MiB and bytes. There's some design friction between vmd(8)/vmctl(8) and vmm(4). For instance, the user-facing code deals in MiB, but internally a vm's memory ranges are defined in terms of