target/s390x: addressing exceptions are suppressing
commit49921d6886c54ec8727f2253b7698f173166bbd3
authorDavid Hildenbrand <david@redhat.com>
Mon, 29 May 2017 12:12:28 +0000 (29 14:12 +0200)
committerRichard Henderson <rth@twiddle.net>
Tue, 6 Jun 2017 22:25:14 +0000 (6 15:25 -0700)
treee957da5179cc30cdff46c681f32db55d428064b2
parent3190dfc5e1cf8d9114c77dd3c0cbfc7ef226b6db
target/s390x: addressing exceptions are suppressing

We have to make the address in the old PSW point at the next
instruction, as addressing exceptions are suppressing and not
nullifying.

I assume that there are a lot of other broken cases (as most instructions
we care about are suppressing) - all trigger_pgm_exception() specifying
and explicit number or ILEN_LATER look suspicious, however this is another
story that might require bigger changes (and I have to understand when
the address might already have been incremented first).

This is needed to make an upcoming kvm-unit-test work.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170529121228.2789-1-david@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
target/s390x/helper.c