Skip to content

kvm-unit-tests: Fix and enhance nVMX tests

Jan Kiszka kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15VMX: Fix initialization of GDT, IDT and TR descriptorsx86/vmx.c x86/vmx.h+12 -190 replies
2/15VMX: Drop redundant return statementsx86/vmx_tests.c+0 -30 replies
3/15rmap_chain: Remove dead codex86/rmap_chain.c+0 -90 replies
4/15emulator: Exclude test_lgdt_lidt from buildingx86/emulator.c+2 -01 reply
5/15init: Fix warning about returning without codex86/init.c+1 -00 replies
6/15lib/x86/smp: Fix compiler warningslib/x86/smp.c+2 -13 replies
7/15VMX: Remove unneeded basic_initx86/vmx_tests.c+3 -70 replies
8/15VMX: Fix capability check for EPT testx86/vmx_tests.c+2 -20 replies
9/15VMX: Let init handler decide about test startx86/vmx.c x86/vmx.h x86/vmx_tests.c+30 -290 replies
10/15VMX: Remove unused return code from setup_ept_rangex86/vmx.c x86/vmx.h x86/vmx_tests.c+10 -150 replies
11/15VMX: Make syscall handler optionalx86/vmx.c x86/vmx_tests.c+12 -190 replies
12/15VMX: Simplify basic handlersx86/vmx_tests.c+1 -170 replies
13/15VMX: Rework and enhance initial feature detection/enablingx86/vmx.c+68 -140 replies
14/15VMX: Add test cases around interrupt injection and haltingx86/vmx.c x86/vmx.h x86/vmx_tests.c+129 -22 replies
15/15VMX: Add test case for preemption timer firing during hltx86/vmx_tests.c+31 -90 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/15] kvm-unit-tests: Fix and enhance nVMX tests

This series contains various smaller fixes and cleanups for the VMX unit tests and also a few unrelated corners of the test suite. It ends with a rework of the VMX capability test and the addition of a bunch of new test cases for interrupt injection, halting and the preemption timer. Most of them fail or lockup at the moment. More work is required on KVM the fix this, I'm on it.

These apply on top of the vmx branch. They are also available at

git://git.kiszka.org/kvm-unit-tests queue

Jan

Jan Kiszka (15):
VMX: Fix initialization of GDT, IDT and TR descriptors
VMX: Drop redundant return statements
rmap_chain: Remove dead code
emulator: Exclude test_lgdt_lidt from building
init: Fix warning about returning without code lib/x86/smp: Fix compiler warnings
VMX: Remove unneeded basic_init
VMX: Fix capability check for EPT test
VMX: Let init handler decide about test start
VMX: Remove unused return code from setup_ept_range
VMX: Make syscall handler optional
VMX: Simplify basic handlers
VMX: Rework and enhance initial feature detection/enabling
VMX: Add test cases around interrupt injection and halting
VMX: Add test case for preemption timer firing during hlt

 lib/x86/smp.c    |   3 +-
 x86/emulator.c   |   2 +
 x86/init.c       |   1 +
 x86/rmap_chain.c |   9 --
 x86/vmx.c        | 123 +++++++++++++++++-------
 x86/vmx.h        |  15 ++-
 x86/vmx_tests.c  | 286 ++++++++++++++++++++++++++++++++++++++-----------------
 7 files changed, 298 insertions(+), 141 deletions(-)
Signature · 1 line
1.8.1.1.298.ge7eed54