Some environments on s390x require guests to be aligned to 2GB. This is a problem when kvm-unit-tests act as a hypervisor, since guests run with MSO/MSL there and guest memory doesn't satisfy this requirement. This series ensures kvm-unit-tests fulfills the 2G alignment requirement. Note that this currently breaks the mvpg-sie test case under KVM due to prefix issues, a fix is due for upstream submission. Nico Boehr (2): s390x: spec_ex-sie: refactor to use snippet API s390x: sie: ensure guests are aligned to 2GB lib/s390x/sie.c | 42 ++++++++++++++++++++++++++++++++++++++++++ lib/s390x/sie.h | 2 ++ lib/s390x/snippet.h | 9 +++------ s390x/sie.c | 4 ++-- s390x/spec_ex-sie.c | 13 ++++++------- 5 files changed, 55 insertions(+), 15 deletions(-) -- 2.41.0