Skip to content

Commit

Permalink
s390: sclp event support
Browse files Browse the repository at this point in the history
Several SCLP features are considered to be events. Those events don't
provide SCLP commands on their own, instead they are all based on
Read Event Data, Write Event Data, Write Event Mask and the service
interrupt. Follow-on patches will provide SCLP's Signal Quiesce (via
system_powerdown) and the ASCII console.
Further down the road the sclp line mode console and configuration
change events (e.g. cpu hotplug) can be implemented.

Signed-off-by: Heinz Graalfs <[email protected]>
Signed-off-by: Christian Borntraeger <[email protected]>
Signed-off-by: Jens Freimann <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
  • Loading branch information
Heinz Graalfs authored and agraf committed Oct 29, 2012
1 parent f6c98f9 commit 559a17a
Show file tree
Hide file tree
Showing 6 changed files with 579 additions and 2 deletions.
2 changes: 2 additions & 0 deletions hw/s390-virtio.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include "exec-memory.h"

#include "hw/s390-virtio-bus.h"
#include "hw/s390x/sclp.h"

//#define DEBUG_S390

Expand Down Expand Up @@ -184,6 +185,7 @@ static void s390_init(QEMUMachineInitArgs *args)

/* get a BUS */
s390_bus = s390_virtio_bus_init(&my_ram_size);
s390_sclp_init();

/* allocate RAM */
memory_region_init_ram(ram, "s390.ram", my_ram_size);
Expand Down
1 change: 1 addition & 0 deletions hw/s390x/Makefile.objs
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ obj-y = s390-virtio-bus.o s390-virtio.o

obj-y := $(addprefix ../,$(obj-y))
obj-y += sclp.o
obj-y += event-facility.o
Loading

0 comments on commit 559a17a

Please sign in to comment.