On Fri, 3 Nov 2023 07:35:45 +0100 Nico Boehr <nrb@xxxxxxxxxxxxx> wrote: > 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. I disagree with the wording. The mvpg-sie test does not break, it will fail because there is an actual KVM bug, so the test works as intended :) > > 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(-) >