s390x/event-facility: variable-length event masks
commit67915de9f0383ccf4ab8c42dd02aa18dcd79b411
authorCornelia Huck <cornelia.huck@de.ibm.com>
Wed, 11 Oct 2017 13:39:53 +0000 (11 09:39 -0400)
committerCornelia Huck <cohuck@redhat.com>
Fri, 20 Oct 2017 11:32:10 +0000 (20 13:32 +0200)
treee5e6a19cf672aac9f9f61439ab33e64a373c6658
parent146bd283ff419299eb957695659ff3ece8259afd
s390x/event-facility: variable-length event masks

The architecture supports masks of variable length for sclp write
event mask. We currently only support 4 byte event masks, as that
is what Linux uses.

Let's extend this to the maximum mask length supported by the
architecture and return 0 to the guest for the mask bits we don't
support in core.

Initial patch by: Cornelia Huck <cornelia.huck@de.ibm.com>

Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Jason J. Herne <jjherne@linux.vnet.ibm.com>
Message-Id: <1507729193-9747-1-git-send-email-jjherne@linux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/event-facility.c
include/hw/s390x/event-facility.h