[PATCH v2 0/3] qapi/machine: Make @dump-skeys command generic

Philippe Mathieu-Daudé posted 3 patches 3 weeks, 1 day ago
There is a newer version of this series
qapi/machine.json                | 18 ++++++++++++++++++
qapi/misc-target.json            | 19 -------------------
include/hw/core/sysemu-cpu-ops.h |  6 ++++++
include/hw/s390x/storage-keys.h  |  1 +
hw/core/machine-qmp-cmds.c       | 13 +++++++++++++
hw/s390x/s390-skeys.c            |  3 ++-
target/s390x/cpu-system.c        |  2 ++
7 files changed, 42 insertions(+), 20 deletions(-)
[PATCH v2 0/3] qapi/machine: Make @dump-skeys command generic
Posted by Philippe Mathieu-Daudé 3 weeks, 1 day ago
We are trying to unify all qemu-system-FOO to a single binary.
In order to do that we need to remove QAPI target specific code.

Introduce the generic SysemuCPUOps::qmp_dump_skeys() callback
(only implemented on s390x). No HMP change.

Since v1 [*]:
- No QMP rename / deprecation

[*] https://lore.kernel.org/qemu-devel/20240530074544.25444-1-philmd@linaro.org/

Philippe Mathieu-Daudé (3):
  hw/s390x: Expose s390_qmp_dump_skeys() prototype
  cpus: Introduce SysemuCPUOps::qmp_dump_skeys() callback
  qapi/machine: Make @dump-skeys command generic

 qapi/machine.json                | 18 ++++++++++++++++++
 qapi/misc-target.json            | 19 -------------------
 include/hw/core/sysemu-cpu-ops.h |  6 ++++++
 include/hw/s390x/storage-keys.h  |  1 +
 hw/core/machine-qmp-cmds.c       | 13 +++++++++++++
 hw/s390x/s390-skeys.c            |  3 ++-
 target/s390x/cpu-system.c        |  2 ++
 7 files changed, 42 insertions(+), 20 deletions(-)

-- 
2.47.1