s390/sclp: improve special wait psw logic
commit8b51c0961cc13e55b26bb6665ec3a341abdc7658
authorChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 20 Feb 2020 13:16:22 +0000 (20 14:16 +0100)
committerCornelia Huck <cohuck@redhat.com>
Wed, 26 Feb 2020 17:57:07 +0000 (26 18:57 +0100)
tree2a6138b5236e87f275ad9254479ad133f58d50c7
parentb91a03946e0f65ddd22927dd80ca1276bf89c5af
s390/sclp: improve special wait psw logic

There is a special quiesce PSW that we check for "shutdown". Otherwise disabled
wait is detected as "crashed". Architecturally we must only check PSW bits
116-127. Fix this.

Cc: qemu-stable@nongnu.org
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Message-Id: <1582204582-22995-1-git-send-email-borntraeger@de.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Acked-by: Janosch Frank <frankja@linux.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/helper.c