s390x: load_psw() should only exchange the PSW for KVM
commitb3a184f51fbed3401694a9619e6842f882a64fee
authorDavid Hildenbrand <david@redhat.com>
Mon, 9 Apr 2018 11:30:19 +0000 (9 13:30 +0200)
committerCornelia Huck <cohuck@redhat.com>
Mon, 9 Apr 2018 11:59:06 +0000 (9 13:59 +0200)
treef4a58fce971a8322273717164e5d5c72c7f5e603
parent61a17fea6df45f0219537536b7af92a42df6ade6
s390x: load_psw() should only exchange the PSW for KVM

Let's simplify it a bit. On some weird circumstances we would have
tried to recompute watchpoints when running under KVM. load_psw() is
called from do_restart_interrupt() during a SIGP RESTART if the target
CPU is STOPPED. Let's touch watchpoints only in the TCG case - where
they are used for PER emulation.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180409113019.14568-3-david@redhat.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/helper.c