"Dr. David Alan Gilbert" <dgilb...@redhat.com> writes: > * Markus Armbruster (arm...@redhat.com) wrote: >> The previous commit made them unsigned in QMP. Switch HMP's args_type >> from 'l' to 'o'. Loses support for expressions (QEMU pocket >> calculator), gains support for unit suffixes. Negative values are no >> longer accepted and interpreted modulo 2^64. Instead, values between >> 2^63 and 2^64-1 are now accepted. > > But that also means all these values are assumed to be in MB by default?
Yes. We could debate whether that's acceptable, as HMP is not a stable interface, but as a matter of fact, I'm no friend of defaulting the unit to anything but one. Looks like we have a customer for your proposed args_type '6'.