s390x/tcg: implement TEST PENDING INTERRUPTION
commit6a253de39557433e19878c7e78aa5cc65b763813
authorDavid Hildenbrand <david@redhat.com>
Mon, 29 Jan 2018 12:56:14 +0000 (29 13:56 +0100)
committerCornelia Huck <cohuck@redhat.com>
Fri, 9 Feb 2018 08:37:13 +0000 (9 09:37 +0100)
tree046548f6bc63b8b8f68be3ca79de77efb9848017
parentb194e44785269c8884f17eac40aa80bada4c746a
s390x/tcg: implement TEST PENDING INTERRUPTION

Use s390_cpu_virt_mem_write() so we can actually revert what we did
(re-inject the dequeued IO interrupt).

Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20180129125623.21729-10-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/helper.h
target/s390x/insn-data.def
target/s390x/misc_helper.c
target/s390x/translate.c