qapi/machine: Make @dump-skeys command generic
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 7 repliesIn review
- v23 patches 7 repliesSuperseded
Changes in v3 from the cover letter
- Use machine interface (Daniel)
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | hw/s390x/skeys: Declare QOM types using DEFINE_TYPES() macrohw/ | +17 | 2 replies | |
| 2/4 | hw/s390x/skeys: Introduce TYPE_DUMP_SKEYS_INTERFACEhw/ include/ | +20 | 2 replies | |
| 3/4 | hw/s390x/ccw: Have CCW machine implement a qmp_dump_skeys() callbackhw/ hw/ include/ | +10 | 2 replies | |
| 4/4 | qapi/machine: Make @dump-skeys command generichw/ hw/ qapi/ +1 more | +33 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Huth | Eric Farman |
|---|---|---|
| 1/4 | R-b | R-b |
| 2/4 | R-b | R-b |
| 3/4 | R-b | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/4] qapi/machine: Make @dump-skeys command generic
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 TYPE_DUMP_SKEYS_INTERFACE type which provide the qmp_dump_skeys() callback, have it implemented on the CCW machine. Machines not supporting this interface report a QMP GenericError. No HMP change.
Since v2:
- Use machine interface (Daniel)
Since v1 [*]:
- No QMP rename / deprecation
[*] https://lore.kernel.org/qemu-devel/[email protected]/
Philippe Mathieu-Daudé (4):
hw/s390x/skeys: Declare QOM types using DEFINE_TYPES() macro hw/s390x/skeys: Introduce TYPE_DUMP_SKEYS_INTERFACE hw/s390x/ccw: Have CCW machine implement a qmp_dump_skeys() callback qapi/machine: Make @dump-skeys command generic
qapi/machine.json | 18 +++++++++++++ qapi/misc-target.json | 19 ------------- include/hw/s390x/storage-keys.h | 16 +++++++++++ hw/core/machine-qmp-cmds.c | 14 ++++++++++ hw/s390x/s390-skeys.c | 47 +++++++++++++++++---------------- hw/s390x/s390-virtio-ccw.c | 3 +++ 6 files changed, 75 insertions(+), 42 deletions(-)
Signature · 1 line
2.47.1