s390x/ioinst: pass the retaddr to all IO instructions
commit1b98fb99d39732231a247acb04823b1ddb5570a1
authorDavid Hildenbrand <david@redhat.com>
Thu, 30 Nov 2017 16:27:32 +0000 (30 17:27 +0100)
committerCornelia Huck <cohuck@redhat.com>
Thu, 14 Dec 2017 16:56:54 +0000 (14 17:56 +0100)
treea5c9976fd1e1dc46d8f348f62830ac0ca019e469
parentfc21eb6bd9f340e8d2083064e86cf09868e69872
s390x/ioinst: pass the retaddr to all IO instructions

TCG needs the retaddr when injecting an interrupt. Let's just pass it
along and use RA_IGNORED for KVM. The value will be completely ignored for
KVM.

Convert program_interrupt() to s390_program_interrupt() directly, making
use of the passed address.

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: <20171130162744.25442-5-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/cpu.h
target/s390x/internal.h
target/s390x/ioinst.c
target/s390x/kvm.c
target/s390x/misc_helper.c