On 27/04/2017 09:07, Markus Armbruster wrote: > Example for "makes no sense in QMP": setting the current CPU[1], because > a QMP monitor doesn't have a current CPU. > > Examples for "is of use only for human users": HMP command "help", the > integrated pocket calculator[2].
This example is more or less like "info mtree". In addition, it exposes ram_addr_t which is an internal interface to QEMU. Therefore it shouldn't be exposed through QMP. Paolo >> But, before that, I would also want to know whether anyone would think >> this an useful thing even to QMP... If so, I would be glad to provide >> QMP interface as well. > Can't say without understanding the use cases. Perhaps you can start > with explaining the itch your HMP command scratches.