[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH] qom: Implement qom-get HMP command
From: |
Paolo Bonzini |
Subject: |
Re: [RFC PATCH] qom: Implement qom-get HMP command |
Date: |
Thu, 21 May 2020 16:24:12 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
On 20/05/20 11:59, Dr. David Alan Gilbert wrote:
>> Count me in favour. I'd like to see the matching change to HMP qom-set,
>> though.
> It turns out I actually did do a JSON version, as the follow up to the
> version Cédric reposted; but then that got lost in people not liking
> JSON; https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg01041.html
Great. I think we're in agreement then that making qom-get and qom-set
just take JSON is the best option. So qom-get would be
"path:s,property:s" as in your patch, and qom-set would be
"path:s,property:s,value:S".
It is not a big deal to make this a backwards-incompatible change.
Paolo