This patch-set improves the Service-Call Logical Processor support for s390.
changes v3->v4: - Event Facility was moved to the main system bus and we now keep the event_facility pointer within the current machine's global property-list as opaque pointer - removed locking - some code refactoring in response to Alexander Graf's and Andreas Faerber's review comments (variables/functions renamed, return codes changed) Patch 1 adds/changes some base SCLP support. Patch 2 adds code to support the SCLP commands Write Event Mask, Write Event Data, and Read Event Data. Patch 3 and 4 add code to implement the commands for the particular SCLP events Signal Quiesce (system_powerdown), and ASCII Console data. Heinz Graalfs (4): s390: sclp base support s390: sclp event support s390: sclp signal quiesce support s390: sclp ascii console support hw/s390-virtio.c | 4 + hw/s390x/Makefile.objs | 3 + hw/s390x/event-facility.c | 398 ++++++++++++++++++++++++++++++++++++++++++++++ hw/s390x/event-facility.h | 96 +++++++++++ hw/s390x/sclp.c | 152 ++++++++++++++++++ hw/s390x/sclp.h | 118 ++++++++++++++ hw/s390x/sclpconsole.c | 306 +++++++++++++++++++++++++++++++++++ hw/s390x/sclpquiesce.c | 112 +++++++++++++ target-s390x/cpu.h | 14 +- target-s390x/kvm.c | 5 +- target-s390x/op_helper.c | 31 +--- 11 files changed, 1197 insertions(+), 42 deletions(-) create mode 100644 hw/s390x/event-facility.c create mode 100644 hw/s390x/event-facility.h create mode 100644 hw/s390x/sclp.c create mode 100644 hw/s390x/sclp.h create mode 100644 hw/s390x/sclpconsole.c create mode 100644 hw/s390x/sclpquiesce.c -- 1.7.11.5