s390x/css: use macro for event-information pending error recover code
commit808e668bbc8db6faa9ffaa802628711f36fe659b
authorDong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Thu, 3 Aug 2017 00:35:26 +0000 (3 02:35 +0200)
committerCornelia Huck <cohuck@redhat.com>
Wed, 30 Aug 2017 16:23:25 +0000 (30 18:23 +0200)
treee35579e4c8bf5229ea644ddb78bb0ac25c1cc67f
parent1ab5eb4efb91a3d4569b0df6e824cc08ab4bd8ec
s390x/css: use macro for event-information pending error recover code

Let's use a macro for the ERC (error recover code) when generating a
Channel Subsystem Event-information pending CRW (channel report word).

While we are at it, let's also add all other ERCs.

Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Reviewed-by: Halil Pasic <pasic@linux.vnet.ibm.com>
Message-Id: <20170803003527.86979-2-bjsdjshi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/css.c
include/hw/s390x/ioinst.h