Implement the Service-Call Logical Processor (SCLP) event type Control-Program Identification (CPI) in QEMU.
Changed since v2: - Add SPDX license tag in the new file hw/s390x/sclpcpi.c - Store the control-program Identification data in the sclpcpi device - Update the description of CPI attributes - Use ldq_be_p() intead of be64_to_cpu() - Return the CPI attribute system-level as an integer in QMP - Add compat handling for backward migration - Other minor changes Shalini Chellathurai Saroja (4): hw/s390x: add SCLP event type CPI hw/s390x: add Control-Program Identification to QOM hw/s390x: support migration of CPI data hw/s390x: compat handling for backward migration hw/s390x/event-facility.c | 28 ++++- hw/s390x/meson.build | 1 + hw/s390x/s390-virtio-ccw.c | 1 + hw/s390x/sclpcpi.c | 196 ++++++++++++++++++++++++++++++ include/hw/s390x/event-facility.h | 12 ++ qapi/machine.json | 58 +++++++++ 6 files changed, 295 insertions(+), 1 deletion(-) create mode 100644 hw/s390x/sclpcpi.c -- 2.47.0