tests/tcg/s390x: Test modifying an EXECUTE target
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 1 Oct 2024 14:56:18 +0000 (16:56 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 2 Oct 2024 11:01:26 +0000 (13:01 +0200)
commite5a007001824f9cde0db58cc960d4efcf1b93f27
tree5366cc51d58ce7c3a2b90cb8427921d4fee5f80b
parentd9d59149c39d2737e08cb08b5578f09eb9a40e0a
tests/tcg/s390x: Test modifying an EXECUTE target

QEMU correctly implements the tracking of EXECUTE target modifications
by storing the instruction text in env->ex_value and tb->cs_base, the
latter of which is used for lookups.

Still, EXECUTE is a tricky corner of the s390x emulation, which can
benefit from having a regression test.

Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-ID: <20241001145634.9786-1-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/tcg/s390x/Makefile.target
tests/tcg/s390x/ex-smc.c [new file with mode: 0644]