From: Richard Henderson <richard.henderson@linaro.org>
To: "Daniel P. Berrangé" <berrange@redhat.com>, qemu-devel@nongnu.org
Cc: "Laurent Vivier" <lvivier@redhat.com>,
"Thomas Huth" <thuth@redhat.com>,
"Eduardo Habkost" <ehabkost@redhat.com>,
"David Hildenbrand" <david@redhat.com>,
"Michael Roth" <michael.roth@amd.com>,
"Yuval Shaia" <yuval.shaia.ml@gmail.com>,
"Peter Xu" <peterx@redhat.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
"Gerd Hoffmann" <kraxel@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>,
"Eric Blake" <eblake@redhat.com>,
"Markus Armbruster" <armbru@redhat.com>
Subject: Re: [PULL 00/18] HMP-to-QMP info command patches
Date: Wed, 3 Nov 2021 09:30:40 -0400 [thread overview]
Message-ID: <c6d762e8-5b32-6ff5-730d-adf69b7dd920@linaro.org> (raw)
In-Reply-To: <20211102175700.1175996-1-berrange@redhat.com>
On 11/2/21 1:56 PM, Daniel P. Berrangé wrote:
> The following changes since commit 91e8394415f9bc9cd81c02bfafe02012855d4f98:
>
> Merge remote-tracking branch 'remotes/juanquintela/tags/migration-20211031-pull-request' into staging (2021-11-02 10:07:27 -0400)
>
> are available in the Git repository at:
>
> https://gitlab.com/berrange/qemu tags/hmp-x-qmp-620-pull-request
>
> for you to fetch changes up to b6a7f3e0d28248861cf46f59521129b179e8748d:
>
> qapi: introduce x-query-opcount QMP command (2021-11-02 15:57:20 +0000)
>
> ----------------------------------------------------------------
> Initial conversion of HMP debugging commands to QMP
>
> This introduces a new policy that all HMP commands will be converted to
> have QMP equivalents, marked unstable if no formal QAPI modelling is
> intended to be done.
>
> New unstable commands are added as follows:
>
> - HMP "info roms" => QMP "x-query-roms"
> - HMP "info profile" => QMP "x-query-profile"
> - HMP "info numa" => QMP "x-query-numa"
> - HMP "info usb" => QMP "x-query-usb"
> - HMP "info rdma" => QMP "x-query-rdma"
> - HMP "info ramblock" => QMP "x-query-ramblock"
> - HMP "info irq" => QMP "x-query-irq"
> - HMP "info jit" => QMP "x-query-jit"
> - HMP "info opcount" => QMP "x-query-opcount"
>
> ----------------------------------------------------------------
>
> Daniel P. Berrangé (18):
> monitor: remove 'info ioapic' HMP command
> monitor: make hmp_handle_error return a boolean
> docs/devel: rename file for writing monitor commands
> docs/devel: tweak headings in monitor command docs
> docs/devel: update error handling guidance for HMP commands
> monitor: introduce HumanReadableText and HMP support
> docs/devel: document expectations for QAPI data modelling for QMP
> docs/devel: add example of command returning unstructured text
> docs/devel: document expectations for HMP commands in the future
> qapi: introduce x-query-roms QMP command
> qapi: introduce x-query-profile QMP command
> qapi: introduce x-query-numa QMP command
> qapi: introduce x-query-usb QMP command
> qapi: introduce x-query-rdma QMP command
> qapi: introduce x-query-ramblock QMP command
> qapi: introduce x-query-irq QMP command
> qapi: introduce x-query-jit QMP command
> qapi: introduce x-query-opcount QMP command
>
> accel/tcg/cpu-exec.c | 51 +++++-
> accel/tcg/hmp.c | 22 +--
> accel/tcg/translate-all.c | 84 +++++----
> docs/devel/index.rst | 2 +-
> ...mands.rst => writing-monitor-commands.rst} | 167 ++++++++++++++++--
> hmp-commands-info.hx | 29 +--
> hw/core/loader.c | 39 ++--
> hw/core/machine-hmp-cmds.c | 38 +---
> hw/core/machine-qmp-cmds.c | 40 +++++
> hw/rdma/rdma_rm.c | 104 +++++------
> hw/rdma/rdma_rm.h | 2 +-
> hw/rdma/vmw/pvrdma_main.c | 31 ++--
> hw/usb/bus.c | 24 ++-
> include/exec/cpu-all.h | 6 +-
> include/exec/ramlist.h | 2 +-
> include/hw/rdma/rdma.h | 2 +-
> include/monitor/hmp-target.h | 1 -
> include/monitor/hmp.h | 5 +-
> include/monitor/monitor.h | 2 +
> include/qapi/type-helpers.h | 14 ++
> include/tcg/tcg.h | 4 +-
> monitor/hmp-cmds.c | 99 ++---------
> monitor/hmp.c | 32 +++-
> monitor/misc.c | 46 ++---
> monitor/monitor-internal.h | 7 +
> monitor/qmp-cmds.c | 116 ++++++++++++
> qapi/common.json | 11 ++
> qapi/machine.json | 110 ++++++++++++
> qapi/meson.build | 3 +
> qapi/qapi-type-helpers.c | 23 +++
> softmmu/physmem.c | 19 +-
> stubs/usb-dev-stub.c | 8 +
> target/i386/monitor.c | 6 -
> tcg/tcg.c | 98 +++++-----
> tests/qtest/qmp-cmd-test.c | 8 +
> 35 files changed, 829 insertions(+), 426 deletions(-)
> rename docs/devel/{writing-qmp-commands.rst => writing-monitor-commands.rst} (75%)
> create mode 100644 include/qapi/type-helpers.h
> create mode 100644 qapi/qapi-type-helpers.c
Applied, thanks.
r~
prev parent reply other threads:[~2021-11-03 13:35 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-02 17:56 [PULL 00/18] HMP-to-QMP info command patches Daniel P. Berrangé
2021-11-02 17:56 ` [PULL 01/18] monitor: remove 'info ioapic' HMP command Daniel P. Berrangé
2021-11-02 17:56 ` [PULL 02/18] monitor: make hmp_handle_error return a boolean Daniel P. Berrangé
2021-11-02 17:56 ` [PULL 03/18] docs/devel: rename file for writing monitor commands Daniel P. Berrangé
2021-11-02 17:56 ` [PULL 04/18] docs/devel: tweak headings in monitor command docs Daniel P. Berrangé
2021-11-02 17:56 ` [PULL 05/18] docs/devel: update error handling guidance for HMP commands Daniel P. Berrangé
2021-11-02 17:56 ` [PULL 06/18] monitor: introduce HumanReadableText and HMP support Daniel P. Berrangé
2021-11-02 17:56 ` [PULL 07/18] docs/devel: document expectations for QAPI data modelling for QMP Daniel P. Berrangé
2021-11-02 17:56 ` [PULL 08/18] docs/devel: add example of command returning unstructured text Daniel P. Berrangé
2021-11-02 17:56 ` [PULL 09/18] docs/devel: document expectations for HMP commands in the future Daniel P. Berrangé
2021-11-02 17:56 ` [PULL 10/18] qapi: introduce x-query-roms QMP command Daniel P. Berrangé
2021-11-02 17:56 ` [PULL 11/18] qapi: introduce x-query-profile " Daniel P. Berrangé
2021-11-02 17:56 ` [PULL 12/18] qapi: introduce x-query-numa " Daniel P. Berrangé
2021-11-02 17:56 ` [PULL 13/18] qapi: introduce x-query-usb " Daniel P. Berrangé
2021-11-02 17:56 ` [PULL 14/18] qapi: introduce x-query-rdma " Daniel P. Berrangé
2021-11-02 17:56 ` [PULL 15/18] qapi: introduce x-query-ramblock " Daniel P. Berrangé
2022-06-09 10:07 ` Claudio Fontana
2022-06-09 10:19 ` Daniel P. Berrangé
2022-06-09 10:25 ` David Hildenbrand
2022-06-09 12:52 ` Dr. David Alan Gilbert
2022-06-30 10:14 ` Claudio Fontana
2022-06-30 10:20 ` Daniel P. Berrangé
2022-06-30 12:55 ` Claudio Fontana
2021-11-02 17:56 ` [PULL 16/18] qapi: introduce x-query-irq " Daniel P. Berrangé
2021-11-02 17:56 ` [PULL 17/18] qapi: introduce x-query-jit " Daniel P. Berrangé
2021-11-02 17:57 ` [PULL 18/18] qapi: introduce x-query-opcount " Daniel P. Berrangé
2021-11-03 13:30 ` Richard Henderson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c6d762e8-5b32-6ff5-730d-adf69b7dd920@linaro.org \
--to=richard.henderson@linaro.org \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=david@redhat.com \
--cc=dgilbert@redhat.com \
--cc=eblake@redhat.com \
--cc=ehabkost@redhat.com \
--cc=kraxel@redhat.com \
--cc=lvivier@redhat.com \
--cc=michael.roth@amd.com \
--cc=pbonzini@redhat.com \
--cc=peterx@redhat.com \
--cc=philmd@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=thuth@redhat.com \
--cc=yuval.shaia.ml@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).