]> xenbits.xensource.com Git - people/aperard/qemu-dm.git/commit
hw/s390x/ccw: Have CCW machine implement a qmp_dump_skeys() callback
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 10 Mar 2025 15:14:13 +0000 (16:14 +0100)
committerThomas Huth <thuth@redhat.com>
Wed, 23 Apr 2025 05:51:25 +0000 (07:51 +0200)
commit1b759bb0cdd6ee5c83bdf8ff3c6897071c5a3a2a
tree28ccaadf4a1f6bcfd9e152c0617cf52029c60d9f
parent3f979fe13e405d5721f3b43b5669a462f4816569
hw/s390x/ccw: Have CCW machine implement a qmp_dump_skeys() callback

In preparation to make @dump-skeys command generic,
extract s390_qmp_dump_skeys() out of qmp_dump_skeys().
Register it as CCW qmp_dump_skeys() callback.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Message-ID: <20250310151414.11550-4-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/s390-skeys.c
hw/s390x/s390-virtio-ccw.c
include/hw/s390x/storage-keys.h