On Sat, Oct 26, 2019 at 10:18:21AM +0000, Reyk Floeter wrote:
> - Do you want to prevent "-i 0" and "interfaces 0" as it is equal to
> not specifying these options at all or do you want to prevent vmd from
> even running a VM without interfaces?
The first; VMs without network must be possible.
> - It is true, the optional "interfaces" keyword in vm.conf cannot be
> 0. The main reason is that it should prevent that the same keyword is
> configured for multiple times. This could be the same for -i.
It already is:
$ doas vmctl start -Li1 -i0 -b ./bsd.rd test
vmctl: interfaces specified multiple times
>
> - VMs can be started without interfaces: vmd prints a warning but
> doesn't prevent it. While the use case without any interfaces seems
> exotic, I also don't see a reason to prevent it. I did have PCs
> without NICs in the past ;-)
I use it all the time and do not want to change it.