* Fabiano Rosas ([email protected]) wrote:
> 
> As the HMP output is not part of any ABI, remove the units from the
> output to avoid this requirement of having individualized code for
> every parameter. Next patches will take benefit from that and use
> generic code to output the parameters values in HMP.

Yes, it's allowed to remove them - although it was helpful.
IMHO the cause of what makes it hard is qapi not having any finer grain
typing, too many things are 'size' when they are in no way sizes!

While there's comments in migration.json - they're not structured enough
to allow the extraction of units, which is a shame.

Hopefully Rustification may someday lead to proper typing so that
times are compared to times and bandwidth rates naturally fall out of
divisions of sizes and times.

Dave

-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/

Reply via email to