OSDN Git Service

selftests: KVM: s390x: Add reset tests
authorJanosch Frank <frankja@linux.ibm.com>
Fri, 31 Jan 2020 10:02:04 +0000 (05:02 -0500)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 31 Jan 2020 12:17:21 +0000 (13:17 +0100)
commitb25d4cb43f31e31c176eb862db2ad3072b496d44
tree2a25460ebd9bd3446d5855d537ff74b2c56cbc34
parentada0a50d7685e35c1b8ee1deb9a38203acda6683
selftests: KVM: s390x: Add reset tests

Test if the registers end up having the correct values after a normal,
initial and clear reset.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Link: https://lore.kernel.org/r/20200131100205.74720-6-frankja@linux.ibm.com
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
tools/testing/selftests/kvm/Makefile
tools/testing/selftests/kvm/s390x/resets.c [new file with mode: 0644]