]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests: kvm: s390: Add test fixture and simple VM setup tests
authorChristoph Schlameuss <schlameuss@linux.ibm.com>
Wed, 7 Aug 2024 15:45:06 +0000 (17:45 +0200)
committerJanosch Frank <frankja@linux.ibm.com>
Mon, 19 Aug 2024 07:51:15 +0000 (07:51 +0000)
commitd4f8592f6c42a6df7f570be6c4ccf8bd40838aab
tree8a0707ffb17c511e84f37575d6290a254c0e3aa7
parent011901fc222435f5bf2d6accb392f749ddebdfe7
selftests: kvm: s390: Add test fixture and simple VM setup tests

Add a uc_kvm fixture to create and destroy a ucontrol VM.

* uc_sie_assertions asserts basic settings in the SIE as setup by the
  kernel.
* uc_attr_mem_limit asserts the memory limit is max value and cannot be
  set (not supported).
* uc_no_dirty_log asserts dirty log is not supported.

Signed-off-by: Christoph Schlameuss <schlameuss@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Link: https://lore.kernel.org/r/20240807154512.316936-5-schlameuss@linux.ibm.com
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Message-ID: <20240807154512.316936-5-schlameuss@linux.ibm.com>
tools/testing/selftests/kvm/s390x/ucontrol_test.c