s390x/tcg: don't exit the cpu loop in s390_cpu_virt_mem_rw()
commit820613b1c1c76cb77a15313eb333a710972614ec
authorDavid Hildenbrand <david@redhat.com>
Thu, 30 Nov 2017 16:27:36 +0000 (30 17:27 +0100)
committerCornelia Huck <cohuck@redhat.com>
Thu, 14 Dec 2017 16:56:54 +0000 (14 17:56 +0100)
tree0f3433d3df21436aa05c6090eccbca8823133cc7
parent98ee9bedc734e18287902f39e3a3a8adb399386a
s390x/tcg: don't exit the cpu loop in s390_cpu_virt_mem_rw()

s390_cpu_virt_mem_rw() must always return, so callers can react on
an exception (e.g. see ioinst_handle_stcrw()).

Therefore, using program_interrupt() is wrong. Fix that up.

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20171130162744.25442-9-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/mmu_helper.c