[kvm-unit-tests PATCH 0/4] s390x: SIE cleanup 2

Janosch Frank
2021-07-29T13:48:33Z

Time to deduplicate code before we copy it around even more.

Most problems originated from my desire to rapidly integrate SIE PV
support and as more and more people are using the SIE support it's
time to have a SIE library.

The SIE lib is by no means perfect. For that we might need a few more
iterations but it's good enough that we only need a bit of code in the
tests to get a guest going. This means we have a low entry to test
development which is my main goal.

Janosch Frank (4):
s390x: sie: Add sie lib validity handling
s390x: lib: Introduce HPAGE_* constants
s390x: lib: sie: Add struct vm (de)initialization functions
lib: s390x: sie: Move sie function into library

lib/s390x/asm/page.h | 4 +++
lib/s390x/sie.c | 84 ++++++++++++++++++++++++++++++++++++++++++++
lib/s390x/sie.h | 7 ++++
s390x/Makefile | 1 +
s390x/mvpg-sie.c | 31 ++--------------
s390x/sie.c | 41 ++-------------------
6 files changed, 101 insertions(+), 67 deletions(-)
create mode 100644 lib/s390x/sie.c

--
2.30.2