CVSROOT: /cvs Module name: src Changes by: d...@cvs.openbsd.org 2022/05/04 17:17:25
Modified files: usr.sbin/vmctl : main.c vmctl.c vmctl.h usr.sbin/vmd : parse.y vioqcow2.c vioraw.c virtio.h Log message: vmctl(8)/vmd(8): convert disk sizes from MB to bytes Continue converting other parts to storing data in bytes instead of MB. In this case, the logic for disk sizes was being scaled. This fixes issues reported by Martin Vahlensieck where vmctl could no longer create disks larger than 7 MiB after previous commits to change storing memory sizes as bytes. While this keeps the vm memory limit check in vmctl's size parser, it skips the limit check for disks. The error messages adjust accordingly and this removes the double error message logging. Update comments and function types accordingly. ok marlkin@