]> www.infradead.org Git - users/dwmw2/qemu.git/commit
tests/tcg: target/s390x: Test MVC
authorDavid Hildenbrand <david@redhat.com>
Thu, 19 Sep 2019 09:21:48 +0000 (11:21 +0200)
committerDavid Hildenbrand <david@redhat.com>
Mon, 23 Sep 2019 07:28:29 +0000 (09:28 +0200)
commit5d69cbdfdd5cd6dadc9f0c986899844a0e4de703
tree52c33714838bb1e323cc779177ddf7d859c41a0a
parentd9e13c341995537cf6bd18c0c163ce5f93d4c0a2
tests/tcg: target/s390x: Test MVC

Let's add a test that especially verifies that no data will be touched
in case we cross page boundaries and one page access triggers a fault.

Before the fault-safe handling fixes, the test failes with:
      TEST    mvc on s390x
    data modified during a fault
    make[2]: *** [../Makefile.target:116: run-mvc] Error 1

Acked-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Hildenbrand <david@redhat.com>
tests/tcg/s390x/Makefile.target
tests/tcg/s390x/mvc.c [new file with mode: 0644]