s390x: move tcg_s390_program_interrupt() into TCG code and mark it noreturn
commit52341ed61d3a7b84602f6ee6b4234027ed5e6172
authorDavid Hildenbrand <david@redhat.com>
Thu, 27 Sep 2018 13:02:55 +0000 (27 15:02 +0200)
committerCornelia Huck <cohuck@redhat.com>
Thu, 4 Oct 2018 08:32:39 +0000 (4 10:32 +0200)
tree15db59ec3d36ca5384970eb7751de92f61b686d6
parentae4b5a5472ede9c92b83fa908c2ec63e80b64ced
s390x: move tcg_s390_program_interrupt() into TCG code and mark it noreturn

Move it into TCG-only code and provide a stub. Turn it into noreturn.

As Richard noted, we currently don't log the psw.addr before restoring
the state, fix that by moving (duplicating) the qemu_log_mask in the
tcg/kvm handlers.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180927130303.12236-2-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/excp_helper.c
target/s390x/interrupt.c
target/s390x/kvm.c
target/s390x/tcg-stub.c
target/s390x/tcg_s390x.h