[kvm-unit-tests PATCH 0/6] s390x: uv: Extend guest test and add host test

Janosch Frank
2021-03-16T09:20:52Z

My stack of patches is starting to lean, so lets try to put some of
them upstream...

The first part is just additions to the UV guest test and a library
that makes checking the installed UV calls easier. Additionally we now
check for the proper UV share/unshare availability when allocating IO
memory instead of only relying on stfle 158.

The second part adds a UV host test with a large number UV of return
code checks. This is currently a guest 1 test.

Janosch Frank (6):
s390x: uv-guest: Add invalid share location test
s390x: Add more Ultravisor command structure definitions
s390x: uv: Add UV lib
s390x: Test for share/unshare call support before using them
s390x: uv-guest: Test invalid commands
s390x: Add UV host test

lib/s390x/asm/uv.h | 152 ++++++++++++-
lib/s390x/io.c | 2 +
lib/s390x/malloc_io.c | 5 +-
lib/s390x/uv.c | 48 ++++
lib/s390x/uv.h | 10 +
s390x/Makefile | 2 +
s390x/uv-guest.c | 57 ++++-
s390x/uv-host.c | 513 ++++++++++++++++++++++++++++++++++++++++++
8 files changed, 776 insertions(+), 13 deletions(-)
create mode 100644 lib/s390x/uv.c
create mode 100644 lib/s390x/uv.h
create mode 100644 s390x/uv-host.c

--
2.27.0