qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 2/2] ramblock: add new hmp command "info rambloc


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH 2/2] ramblock: add new hmp command "info ramblock"
Date: Thu, 27 Apr 2017 09:39:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0


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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]