From 808e668bbc8db6faa9ffaa802628711f36fe659b Mon Sep 17 00:00:00 2001 From: Dong Jia Shi Date: Thu, 3 Aug 2017 02:35:26 +0200 Subject: 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 Reviewed-by: Halil Pasic Message-Id: <20170803003527.86979-2-bjsdjshi@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck --- hw/s390x/css.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw') diff --git a/hw/s390x/css.c b/hw/s390x/css.c index 1880b1a..0be4eb0 100644 --- a/hw/s390x/css.c +++ b/hw/s390x/css.c @@ -2108,7 +2108,7 @@ void css_generate_chp_crws(uint8_t cssid, uint8_t chpid) void css_generate_css_crws(uint8_t cssid) { if (!channel_subsys.sei_pending) { - css_queue_crw(CRW_RSC_CSS, 0, 0, cssid); + css_queue_crw(CRW_RSC_CSS, CRW_ERC_EVENT, 0, cssid); } channel_subsys.sei_pending = true; } -- cgit v1.1