public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v5 0/6] s390x: Attestation tests
@ 2022-05-02  9:39 Steffen Eiden
  2022-05-02  9:39 ` [kvm-unit-tests PATCH v5 1/6] s390x: uv-host: Add invalid command attestation check Steffen Eiden
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Steffen Eiden @ 2022-05-02  9:39 UTC (permalink / raw)
  To: Thomas Huth, Janosch Frank, Claudio Imbrenda, David Hildenbrand
  Cc: kvm, linux-s390

This series adds some test in s390x/uv-guest.c verifying error paths of the
Request Attestation Measurement UVC.
Also adds a test in s390x/uv-host.c to verify that the
Request Attestation Measurement UVC cannot be called in guest1.

Additionally, adds a shared bit test and removes duplicated tests.

v4->v5:
  * added r-b from Janosch
  * fixed some nits
  * Added PATCH to remove double prefix_pop in uv-guest
  * renamed latch PATCH

v3->v4:
  * renamed PATCH 1
  * moved attestation guest tests into own file
  * rebased onto current master

v2->v3:
  * added test for share bits as new PATCH 4/5
  * added r-b from Claudio in PATCH 1/4
  * replaced all u* with uint*_t
  * incorporated misc feedback from Claudio

v1->v2:
  * renamed 'uv_get_info(void)' to 'uv_get_query_data(void)'
  * renamed various fields in 'struct uv_arcb_v1'
  * added a test for invalid additional size
  * added r-b from Janosch in PATCH 1/4
  * added r-b from Janosch in PATCH 3/4

Steffen Eiden (6):
  s390x: uv-host: Add invalid command attestation check
  s390x: lib: Add QUI getter
  s390x: uv-guest: remove duplicated checks
  s390x: uv-guest: Remove double report_prefix_pop
  s390x: uv-guest: add share bit test
  s390x: Add attestation tests

 lib/s390x/asm/uv.h |  28 +++++-
 lib/s390x/uv.c     |   8 ++
 lib/s390x/uv.h     |   1 +
 s390x/Makefile     |   1 +
 s390x/pv-attest.c  | 225 +++++++++++++++++++++++++++++++++++++++++++++
 s390x/uv-guest.c   |  51 ++++++----
 s390x/uv-host.c    |   1 +
 7 files changed, 295 insertions(+), 20 deletions(-)
 create mode 100644 s390x/pv-attest.c

-- 
2.30.2


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-05-04  8:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-02  9:39 [kvm-unit-tests PATCH v5 0/6] s390x: Attestation tests Steffen Eiden
2022-05-02  9:39 ` [kvm-unit-tests PATCH v5 1/6] s390x: uv-host: Add invalid command attestation check Steffen Eiden
2022-05-02  9:39 ` [kvm-unit-tests PATCH v5 2/6] s390x: lib: Add QUI getter Steffen Eiden
2022-05-02  9:39 ` [kvm-unit-tests PATCH v5 3/6] s390x: uv-guest: remove duplicated checks Steffen Eiden
2022-05-02  9:39 ` [kvm-unit-tests PATCH v5 4/6] s390x: uv-guest: Remove double report_prefix_pop Steffen Eiden
2022-05-04  8:38   ` Janosch Frank
2022-05-02  9:39 ` [kvm-unit-tests PATCH v5 5/6] s390x: uv-guest: add share bit test Steffen Eiden
2022-05-04  8:39   ` Janosch Frank
2022-05-02  9:39 ` [kvm-unit-tests PATCH v5 6/6] s390x: Add attestation tests Steffen Eiden
2022-05-04  8:36   ` Janosch Frank

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox