v1: https://lists.gnu.org/archive/html/qemu-devel/2023-04/msg03746.html v1 -> v2: Use cpu_to_le16() and friends (Thomas).
Hi, I noticed that Alex added "undefine MULTIARCH_TESTS" to tests/tcg/s390x/Makefile.softmmu-target in the plugin patch, and thought that it may better to just enable them, which this series does. Patch 1 makes the QEMU headers available to the tests. Patch 2 fixes an endianness issue in the memory test. Patch 3 enables the multiarch system test. The main difficulty is outputting characters via SCLP, which is sidestepped by reusing the pc-bios/s390-ccw implementation. Best regards, Ilya Ilya Leoshkevich (3): tests/tcg: Make the QEMU headers available to the tests tests/tcg/multiarch: Make the system memory test work on big-endian tests/tcg/s390x: Enable the multiarch system tests tests/include/qemu/testdep.h | 14 +++++++++ tests/tcg/Makefile.target | 4 +-- tests/tcg/aarch64/sve-ioctls.c | 1 + tests/tcg/aarch64/sysregs.c | 1 + tests/tcg/multiarch/system/memory.c | 26 ++++++++-------- tests/tcg/s390x/Makefile.softmmu-target | 40 +++++++++++++++++-------- tests/tcg/s390x/console.c | 12 ++++++++ tests/tcg/s390x/head64.S | 31 +++++++++++++++++++ 8 files changed, 102 insertions(+), 27 deletions(-) create mode 100644 tests/include/qemu/testdep.h create mode 100644 tests/tcg/s390x/console.c create mode 100644 tests/tcg/s390x/head64.S -- 2.39.2