From: Christian Borntraeger Date: Tue, 17 Sep 2013 08:32:54 +0000 (+0200) Subject: s390/eventfacility: Fix receive/send masks X-Git-Tag: v2.7.1~2259^2~4 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=788be8e9d669c314ad7aef1a71bce31367cfe462;p=mirror_qemu.git s390/eventfacility: Fix receive/send masks Currently we announce interchanged receive/send masks. This did not trigger a bug, since the sclp console has the same masks for send/receive and the Linux guest does not check the sclp mask for simple events like quiesce. With other event users like the sclp line mode console, we will have different send/receive bits. Fix it. Signed-off-by: Christian Borntraeger Reviewed-by: Alexander Graf --- diff --git a/include/hw/s390x/event-facility.h b/include/hw/s390x/event-facility.h index 791ab2a6de..727ef4fdf8 100644 --- a/include/hw/s390x/event-facility.h +++ b/include/hw/s390x/event-facility.h @@ -43,8 +43,8 @@ typedef struct WriteEventMask { uint16_t mask_length; uint32_t cp_receive_mask; uint32_t cp_send_mask; - uint32_t send_mask; uint32_t receive_mask; + uint32_t send_mask; } QEMU_PACKED WriteEventMask; typedef struct EventBufferHeader {