s390x/pci: pass the retaddr to all PCI instructions
commit468a93898a97639d8ba412d6a3cf9252f1927276
authorDavid Hildenbrand <david@redhat.com>
Thu, 30 Nov 2017 16:27:33 +0000 (30 17:27 +0100)
committerCornelia Huck <cohuck@redhat.com>
Thu, 14 Dec 2017 16:56:54 +0000 (14 17:56 +0100)
tree49a3984d65cc91b74fbb66e70b4ee9ed152b720a
parent1b98fb99d39732231a247acb04823b1ddb5570a1
s390x/pci: pass the retaddr to all PCI instructions

Once we wire up TCG, we will need the retaddr to correctly inject
program interrupts. As we want to get rid of the function
program_interrupt(), convert PCI code too.

For KVM, we can simply use RA_IGNORED.

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-6-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/s390-pci-inst.c
hw/s390x/s390-pci-inst.h
target/s390x/kvm.c