s390x/css: fence off MIDA
commit4e19b57b0e335fdaf2cf3f056b327ee6717dec7e
authorCornelia Huck <cornelia.huck@de.ibm.com>
Wed, 24 May 2017 12:06:12 +0000 (24 14:06 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 6 Jun 2017 08:17:11 +0000 (6 10:17 +0200)
treee74493511da2ebdedbaa7dd62c948968b265f5a2
parent8ed179c937830143dc0e03daac30a55272ed89e3
s390x/css: fence off MIDA

MIDA (modified indirect data addressing) is an optional facility, and
we (currently) don't support it. Let's post an operand exception if
the guest tries to set it in the orb and a channel program check
if it is set in a ccw, as specified in the Principles of Operation.

Reviewed-by: Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
hw/s390x/css.c
include/hw/s390x/ioinst.h
target/s390x/ioinst.c