summary refs log tree commit diff stats
path: root/hw/timer/lm32_timer.c
diff options
context:
space:
mode:
authorSong Shan Gong <gongss@linux.vnet.ibm.com>2016-01-19 02:55:00 +0100
committerCornelia Huck <cornelia.huck@de.ibm.com>2016-01-27 15:34:47 +0100
commitc81b4f896f2768a34d6e65e5f3e588515b10f631 (patch)
treeaa5013c5420be6aa91db3e1489a2dc68e5cff91b /hw/timer/lm32_timer.c
parentf70202be535b5601fd02c725dc1d74f3bfc5039c (diff)
downloadfocaccia-qemu-c81b4f896f2768a34d6e65e5f3e588515b10f631.tar.gz
focaccia-qemu-c81b4f896f2768a34d6e65e5f3e588515b10f631.zip
s390x: fix generation of event information crw
Only one channel report word (crw) may be pending if there is
event-information pending.

This patch introduces a bool-type field 'sei_pending' for the
channel subsystem, which indicates whether there are pending events.
It is set when event information is made pending and the crw
generated, and cleared after the guest has collected all pending
event information. A crw is not generated if this flag had already
been set.

Signed-off-by: Song Shan Gong <gongss@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'hw/timer/lm32_timer.c')
0 files changed, 0 insertions, 0 deletions