target/s390x: interpret PSW_MASK_WAIT only for TCG
commitc6892047dc15a9106a1657b07ed1c915cabc8a06
authorDavid Hildenbrand <david@redhat.com>
Thu, 28 Sep 2017 20:36:48 +0000 (28 22:36 +0200)
committerCornelia Huck <cohuck@redhat.com>
Fri, 20 Oct 2017 11:32:10 +0000 (20 13:32 +0200)
treeba55dca520adc5b71951b274b5d38a7a0eb72f87
parentf1cbfe6a736cf5a676fcdafcafdeb24125358c4e
target/s390x: interpret PSW_MASK_WAIT only for TCG

KVM handles the wait PSW itself and triggers a WAIT ICPT in case it
really wants to sleep (disabled wait).

This will later allow us to change the order of loading a restart
interrupt and setting a CPU to OPERATING on SIGP RESTART without
changing KVM behavior.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170928203708.9376-11-david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/helper.c