All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v1 0/2] QMP: implementing qmp_cpu
@ 2017-12-13 18:15 Daniel Henrique Barboza
  2017-12-13 18:15 ` [Qemu-devel] [PATCH v1 1/2] qmp.c: (re)implement qmp_cpu Daniel Henrique Barboza
  2017-12-13 18:15 ` [Qemu-devel] [PATCH v1 2/2] cpus.c: change qmp_query_cpus 'value->current' logic Daniel Henrique Barboza
  0 siblings, 2 replies; 12+ messages in thread
From: Daniel Henrique Barboza @ 2017-12-13 18:15 UTC (permalink / raw)
  To: qemu-devel; +Cc: dgilbert, armbru, Daniel Henrique Barboza

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(-)

-- 
2.13.6

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-12-18  9:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-13 18:15 [Qemu-devel] [PATCH v1 0/2] QMP: implementing qmp_cpu Daniel Henrique Barboza
2017-12-13 18:15 ` [Qemu-devel] [PATCH v1 1/2] qmp.c: (re)implement qmp_cpu Daniel Henrique Barboza
2017-12-14  2:18   ` Eric Blake
2017-12-14 15:21     ` Markus Armbruster
2017-12-14 19:46       ` Daniel Henrique Barboza
2017-12-15 13:56         ` Markus Armbruster
2017-12-15 18:11           ` Paolo Bonzini
2017-12-18  9:20             ` Markus Armbruster
2017-12-15 18:59         ` Dr. David Alan Gilbert
2017-12-18  9:12           ` Markus Armbruster
2017-12-13 18:15 ` [Qemu-devel] [PATCH v1 2/2] cpus.c: change qmp_query_cpus 'value->current' logic Daniel Henrique Barboza
2017-12-14 19:50   ` Daniel Henrique Barboza

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.