Skip to content

Fix test failures caused by CET KVM series

Yang Weijiang kvm 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 3 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3x86: VMX: Exclude CR4.CET from the test_vmxon_bad_cr()x86/vmx.c+1 -10 replies
2/3x86: VMX: Rename union vmx_basic and related global variablex86/vmx.c x86/vmx.h x86/vmx_tests.c+29 -290 replies
3/3x86:VMX: Introduce new vmx_basic MSR feature bit for vmx testsx86/vmx.h x86/vmx_tests.c+19 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [kvm-unit-tests PATCH v2 0/3] Fix test failures caused by CET KVM series

CET KVM series causes sereral test cases fail due to:
1) New introduced constraints between CR0.WP and CR4.CET bits, i.e., setting CR4.CET == 1 fails if CR0.WP == 0, and setting CR0.WP == 0 fails if CR4.CET
== 1
2) New introduced support of VMX_BASIC[bit56], i.e., skipping HW consistent check for event error code if the bit is set.

Opportunistically rename related struct and variable to avoid confusion.

Yang Weijiang (3):
x86: VMX: Exclude CR4.CET from the test_vmxon_bad_cr()
x86: VMX: Rename union vmx_basic and related global variable x86:VMX: Introduce new vmx_basic MSR feature bit for vmx tests

 x86/vmx.c       | 46 +++++++++++++++++++++++-----------------------
 x86/vmx.h       |  7 ++++---
 x86/vmx_tests.c | 31 ++++++++++++++++++++++---------
 3 files changed, 49 insertions(+), 35 deletions(-)
Signature · 1 line
2.27.0