QMP: implementing qmp_cpu
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | qmp.c: (re)implement qmp_cpuhmp.c qapi-schema.json qmp.c | +17 | 8 replies | |
| 2/2 | cpus.c: change qmp_query_cpus 'value->current' logiccpus.c hmp.c | +2 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [PATCH v1 0/2] QMP: implementing qmp_cpu
This small series (re)implements qmp_cpu inside qmp.c, adapting docs and hmp code accordingly. A fix was also made in qmp_query_cpus in resulting of the qmp_cpu usage.
The first and unique qmp_cpu implementation so far was made in commit 755f196898, ("qapi: Convert the cpu command"). This is a 6 year old commit that was part of the following series:
https://lists.gnu.org/archive/html/qemu-devel/2011-10/msg02767.html
I don't understand in the original context why the qmp_cpu function was left blank while implementing hmp_cpu, but today I believe we can have both qmp_cpu and hmp_cpu co-existing.
Daniel Henrique Barboza (2):
qmp.c: (re)implement qmp_cpu
cpus.c: change qmp_query_cpus 'value->current' logic
cpus.c | 2 +- hmp.c | 14 ++++---------- qapi-schema.json | 14 +++++++++++--- qmp.c | 4 +++- 4 files changed, 19 insertions(+), 15 deletions(-)
Signature · 1 line
2.13.6