]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/s390x: Do not modify cpu state in s390_cpu_get_psw_mask
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 15 Jun 2021 03:07:41 +0000 (20:07 -0700)
committerCornelia Huck <cohuck@redhat.com>
Mon, 21 Jun 2021 06:48:21 +0000 (08:48 +0200)
commit3c11c2ebb062ffb5d7dcad44ab0fb60505ad5cac
tree4f3fc54d73b073e539b1f5388030f0c82809ee4d
parente2b2a8649bcd4769f453497b2abffbe44c7f86ad
target/s390x: Do not modify cpu state in s390_cpu_get_psw_mask

We want to use this function for debugging, and debug should
not modify cpu state (even non-architectural cpu state) lest
we introduce heisenbugs.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Tested-by: jonathan.albrecht <jonathan.albrecht@linux.vnet.ibm.com>
Tested-by: <ruixin.bao@ibm.com>
Message-Id: <20210615030744.1252385-3-richard.henderson@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/helper.c