[kvm-unit-tests PATCH v2 0/4] s390x: Cleanup virtualization library

Janosch Frank
2026-04-20T08:49:46Z

In order to support sae virtualization we need to cleanup the library
a bit and make it more flexible when it comes to guest creation and
allocation.

v2:
- Renamed get_page_root() to get_primary_page_root()
- Reworked patch 3 into a general sie memory improvement patch
- Removed the sie struct rename patch

Janosch Frank (4):
lib: s390x: Add function to get page root
lib: s390x: sie: Allocate physical guest memory via memalign
lib: s390x: sie: Memory rework
lib: s390x: snippet: Add function to create a guest of specific length

lib/s390x/mmu.h | 7 ++++
lib/s390x/sie.c | 89 ++++++++++++++++++++++++---------------------
lib/s390x/sie.h | 2 +-
lib/s390x/snippet.h | 19 ++++++++--
s390x/diag258.c | 4 +-
s390x/edat.c | 5 ++-
s390x/mvpg-sie.c | 4 +-
s390x/pv-diags.c | 2 +-
s390x/pv-edat1.c | 9 ++---
s390x/pv-icptcode.c | 4 +-
s390x/pv-ipl.c | 2 +-
s390x/sie-dat.c | 4 +-
s390x/sie.c | 13 ++-----
s390x/skey.c | 7 ++--
s390x/spec_ex-sie.c | 2 +
s390x/stfle-sie.c | 2 +
16 files changed, 97 insertions(+), 78 deletions(-)

--
2.51.0