[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Use QMP command object-add instead of object_add for memory
From: |
Markus Armbruster |
Subject: |
Re: [PATCH] Use QMP command object-add instead of object_add for memory hotplugin |
Date: |
Thu, 08 Sep 2022 14:34:56 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
liuhaiwei9699 <liuhaiwei9699@126.com> writes:
> why the hmp using the object_add , qmp using the object-add command?
> can't we use the same command ?
Command names differ between HMP and QMP for historical reasons.
QMP is a stable interface, and changing names there is no go.
HMP is not a stable interface, but changing names would still
inconvenience users. We don't do that without really compelling
reasons.
I think HMP could fold '_' and '-' together in command names, so that
both object_add and object-add work. Best to check with the HMP
maintainer before you start coding.