tests/tcg/s390x: Test modifying an EXECUTE target
PATCH 1/1 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 <[email protected]>
--- tests/tcg/s390x/Makefile.target | 1 + tests/tcg/s390x/ex-smc.c | 57 +++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 tests/tcg/s390x/ex-smc.c
tests/tcg/s390x/Makefile.target +1 -0
@@ -48,6 +48,7 @@ TESTS+=lae TESTS+=cvd TESTS+=cvb TESTS+=ts +TESTS+=ex-smc cdsg: CFLAGS+=-pthread cdsg: LDFLAGS+=-pthread
tests/tcg/s390x/ex-smc.c new file +57 -0
57 lines not on this page · raw message
Signature · 1 line
2.46.2