CVSROOT: /cvs Module name: src Changes by: [email protected] 2024/04/10 07:03:41
Modified files:
usr.sbin/vmctl : main.c
Log message:
vmctl: fix incorrect scaling when converting disk images.
ctl_convert still had old logic assuming disk sizes were in MiB and
not bytes, causing an attempt to create a new disk using the '-i'
argument to generate impossibly large output disk images (e.g. 1 MiB
ends up 1 TiB).
Reported by and diff from Jesper Wallin.
