Skip to content

s390x: Add Protected VM support

Marc Hartmayer kvm linux-s390 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/24 patches 3 repliesIn review
  2. v2 RFC posting 1/24 patches 15 repliesSuperseded
  3. v1 RFC1 patch 8 repliesSuperseded

Changes in v2 from the cover letter

+ rebased
+ patches 1-3:
- add r-b from Conny, Andrew, and David
+ patch 4:
- add r-b from Janosch
- renamed ${testname} to $testname (David)
- fix print_result function calls and the arguments used

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4common.bash: run `cmd` only if a test case was foundrun_tests.sh scripts/common.bash scripts/mkstandalone.sh+6 -90 replies
2/4scripts: add support for architecture dependent functionsREADME.md scripts/common.bash+10 -10 replies
3/4run_tests/mkstandalone: add arch_cmd hookscripts/common.bash+7 -20 replies
4/4s390x: add Protected VM supportconfigure s390x/Makefile s390x/selftest.parmfile +2 more+62 -23 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAndrew JonesCornelia HuckDavid HildenbrandJanosch Frank
1/4R-b R-b R-b
2/4R-b R-b R-b
3/4R-b R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH kvm-unit-tests v2 0/4] s390x: Add Protected VM support

Add support for Protected Virtual Machine (PVM) tests. For starting a PVM guest we must be able to generate a PVM image by using the genprotimg tool from the s390-tools collection. This requires the ability to pass a machine-specific host-key document, so the option --host-key-document is added to the configure script.

For everybody's convenience there is a branch:
https://gitlab.com/mhartmay/kvm-unit-tests/-/tree/pv_v2

Changelog:
v1 -> v2:
+ rebased
+ patches 1-3:
- add r-b from Conny, Andrew, and David
+ patch 4:
- add r-b from Janosch
- renamed ${testname} to $testname (David)
- fix print_result function calls and the arguments used
RFC v2 -> v1:
+ Rebased
+ patch 1:
- add r-b from Andrew
+ patch 2:
- add explicit dependency on config.mak (Andrew)
- add comment about the order of sourcing (Andrew)
+ patch 3:
- drop dummy function (Andrew)
- add arch_cmd hook function (Andrew)
+ patch 4:
- rephrased the documentation of the configure option (Conny)
- Skip test case if a PVM image wasn't built or the host-key document wasn't set (Conny)
- Run PV tests by default
RFC v1 -> RFC v2:
+ Remove pv_support option (Janosch, David)
+ Add some preliminary patches:
- move "testname guard"
- add support for architecture dependent functions
+ Add support for specifying a parmline file for the PV image
generation. This is necessary for the selftest because the
kernel cmdline set on the QEMU command line is ignored for PV
guests

Marc Hartmayer (4):
common.bash: run cmd only if a test case was found
scripts: add support for architecture dependent functions run_tests/mkstandalone: add arch_cmd hook
s390x: add Protected VM support

 README.md               |  3 ++-
 configure               |  9 +++++++++
 run_tests.sh            |  3 ---
 s390x/Makefile          | 17 +++++++++++++++--
 s390x/selftest.parmfile |  1 +
 s390x/unittests.cfg     |  1 +
 scripts/common.bash     | 21 +++++++++++++++++++--
 scripts/mkstandalone.sh |  4 ----
 scripts/s390x/func.bash | 36 ++++++++++++++++++++++++++++++++++++
 9 files changed, 83 insertions(+), 12 deletions(-)
 create mode 100644 s390x/selftest.parmfile
 create mode 100644 scripts/s390x/func.bash
Signature · 1 line
2.25.4