Skip to content

RFC kvm-unit-tests: VMX: vmentry checks

Arthur Chunqi Li kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2kvm-unit-tests: VMX: Add vmentry failed handler to frameworklib/x86/vm.h x86/vmx.c x86/vmx.h +1 more+57 -260 replies
2/2kvm-unit-tests: VMX: Add test cases for vmentry checksx86/vmx.h x86/vmx_tests.c+668 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/2] kvm-unit-tests: VMX: vmentry checks

This series implement a framework to capture early exit in vmenter, means vmenter fails to next instruction instead of causing vmexit. Then all supported features referred in Intel SDM 26.1 and 26.2 are tested.

Some test cases are commented since they may cause fatal error of KVM, thus will crash test environment and affect the following tests. They are hoped to uncomment after related bugs are fixed.

Arthur Chunqi Li (2):
kvm-unit-tests: VMX: Add vmentry failed handler to framework
kvm-unit-tests: VMX: Add test cases for vmentry checks

 lib/x86/vm.h    |    3 +
 x86/vmx.c       |   34 +--
 x86/vmx.h       |   37 ++-
 x86/vmx_tests.c |  678 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 4 files changed, 725 insertions(+), 27 deletions(-)
Signature · 1 line
1.7.9.5