On Thu, 28 Nov 2024 13:50:41 +0000, Alexandru Elisei wrote: > There is no reason why -m/--mem should not allow the user to express the > desired memory size in octal or hexadecimal, especially when it's as easy > as changing the strtoull() 'base' parameter to 0, as per man 3 strtoull. > > Before: > > $ ./lkvm run -m 0x200 -k Image > > [...] Applied to kvmtool (master), thanks! [1/1] builtin-run: Allow octal and hex numbers for -m/--mem https://git.kernel.org/will/kvmtool/c/2be69d9d4ae3 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev