lima-vm / lima

Linux virtual machines, with a focus on running containers
https://lima-vm.io/
Apache License 2.0
15.39k stars 604 forks source link

Add minimumLimaVersion and vmOpts.qemu.minimumVersion fields to lima.yaml #2659

Closed jandubois closed 1 month ago

jandubois commented 1 month ago

This will allow us to specify the requirements in the templates not just in a comment, but in a way that can be validated.

jandubois commented 1 month ago

I noticed we use inconsistent capitalization of the QEMU name, sometimes even in the same type:

func (l *LimaQemuDriver) killQEMU(…)

I feel that completely capitalizing it as QEMU is the right way to use it, but we should do this consistently. If people prefer Qemu, then I can use this in the new variables too, but we should then rename all the old names to match as well.