Skip to content

Fixes for SEV mirror VM tests

Peter Gonda kvm lkml 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3selftests: sev_migrate_tests: Fix test_sev_mirror()tools/testing/selftests/kvm/x86_64/sev_migrate_tests.c+1 -41 reply
2/3selftests: sev_migrate_tests: Fix sev_ioctl()tools/testing/selftests/kvm/x86_64/sev_migrate_tests.c+2 -12 replies
3/3selftests: sev_migrate_tests: Add mirror command teststools/testing/selftests/kvm/x86_64/sev_migrate_tests.c+51 -43 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMarc Orr
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Fixes for SEV mirror VM tests

Updated patch series for fixing bug in sev_ioctl() which allowed test to look like a mirror vm could call KVM_SEV_LAUNCH_START. Adds additional testing to validate mirror vm can only call subset of commands.

I could not add the patch Seanjc recommended due to issues with sev_platform_init() not correctly setting the fw error. I'll work ontop of the INIT_EX patch series to fix this issue with the PSP driver.

Peter Gonda (3):
selftests: sev_migrate_tests: Fix test_sev_mirror()
selftests: sev_migrate_tests: Fix sev_ioctl()
selftests: sev_migrate_tests: Add mirror command tests

 .../selftests/kvm/x86_64/sev_migrate_tests.c  | 59 ++++++++++++++++---
 1 file changed, 52 insertions(+), 7 deletions(-)
Signature · 1 line
2.34.1.400.ga245620fadb-goog