x86/vmx: unit tests for Intel MBEC
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 2 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [kvm-unit-tests PATCH 00/10] x86/vmx: unit tests for Intel MBEC
Expand both VMX and EPT test cases for Intel mode-based execute control (aka MBEC). Knock on wood, they are mostly functional and provide good coverage; however, I could use some assistance with the last four patches. I've added in-line code comments (as well as commit log msgs) explaining the observed issues. I suspect the problem is something to do with how KUT is allocating memory.
Knock on some more wood, anecdotally, Windows desktop and Windows server with MBEC work without any issues, so the core "does it boot" and "does it perform well" are at least sane from that perspective.
Jon Kohler (10):
x86/vmx: add mode-based execute control test for Skylake and above x86/vmx: update EPT installation to use EPT_PRESENT flag x86/vmx: add user execution operation to EPT access tests x86/vmx: conditionally include EPT ignored bit 10 based on MBEC
support
x86/vmx: update EPT read write execute test for MBEC support x86/vmx: update EPT access paddr tests for MBEC support x86/vmx: update EPT access tests for MBEC support (needs help) x86/vmx: update EPT supervisor execute only tests for MBEC support
(needs help)
x86/vmx: add EPT user-only execute access test for MBEC support (needs
help)
x86/vmx: update remaining EPT access tests for MBEC support (needs
help)
x86/unittests.cfg | 21 +++- x86/vmx.c | 3 +- x86/vmx.h | 24 +++-- x86/vmx_tests.c | 266 ++++++++++++++++++++++++++++++++++++++++++---- 4 files changed, 286 insertions(+), 28 deletions(-)
Signature · 1 line
2.43.0