kvm-unit-tests: Various improvements for x86 tests
Status from this message: Applied patches 3-13 for now. Will go back to 1 and 2 when I look at your pending KVM patches.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | VMX: Add test cases around interrupt injection and haltingx86/ x86/ x86/ | +148 | 0 replies | |
| 2/13 | VMX: Extend preemption timer testsx86/ | +64 | 0 replies | |
| 3/13 | apic: Remove redundant enable_apicx86/ | +0 | 0 replies | |
| 4/13 | VMX: Fix return label in fault-triggering handlersx86/ | +2 | 2 replies | |
| 5/13 | lib/x86: Move exception test code into librarylib/ lib/ x86/ | +35 | 0 replies | |
| 6/13 | x2apic: Test for invalid state transitionslib/ x86/ | +43 | 0 replies | |
| 7/13 | lib/x86/apic: Consolidate over MSR_IA32_APICBASElib/ | +3 | 0 replies | |
| 8/13 | apic: Add test case for relocation and writing reserved bitsx86/ | +27 | 0 replies | |
| 9/13 | VMX: Check unconditional I/O exitingx86/ | +35 | 0 replies | |
| 10/13 | Provide common report and report_summary servicesMakefile lib/ lib/ +10 more | +68 | 0 replies | |
| 11/13 | Ignore *.elf build outputs.gitignore | +1 | 0 replies | |
| 12/13 | svm: Add missing build dependencyconfig-x86-common.mak | +1 | 0 replies | |
| 13/13 | x86: Add debug facility test caseconfig-x86-common.mak config-x86_64.mak lib/ +2 more | +121 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/13] kvm-unit-tests: Various improvements for x86 tests
Highlights:
- improved preemption timer and interrupt injection tests (obsoletes my two patches in vmx queue)
- tests for IA32_APIC_BASE writes
- test for unconditional IO exiting (VMX)
- basic test of debug facilities (hw breakpoints etc.)
Jan Kiszka (13):
VMX: Add test cases around interrupt injection and halting
VMX: Extend preemption timer tests
apic: Remove redundant enable_apic
VMX: Fix return label in fault-triggering handlers lib/x86: Move exception test code into library
x2apic: Test for invalid state transitions lib/x86/apic: Consolidate over MSR_IA32_APICBASE
apic: Add test case for relocation and writing reserved bits
VMX: Check unconditional I/O exiting
Provide common report and report_summary services Ignore *.elf build outputs
svm: Add missing build dependency
x86: Add debug facility test case
.gitignore | 1 + Makefile | 3 +- config-x86-common.mak | 4 +- config-x86_64.mak | 2 +- lib/libcflat.h | 4 + lib/report.c | 36 +++++++ lib/x86/apic-defs.h | 3 + lib/x86/apic.c | 7 +- lib/x86/desc.c | 24 +++++ lib/x86/desc.h | 6 ++ x86/apic.c | 84 +++++++++++++--- x86/debug.c | 113 +++++++++++++++++++++ x86/emulator.c | 16 +-- x86/eventinj.c | 15 +-- x86/idt_test.c | 21 +--- x86/msr.c | 15 +-- x86/pcid.c | 14 +-- x86/pmu.c | 37 +++---- x86/taskswitch2.c | 15 +-- x86/unittests.cfg | 3 + x86/vmx.c | 57 +++-------- x86/vmx.h | 4 +- x86/vmx_tests.c | 264 ++++++++++++++++++++++++++++++++++++++++++++++---- 23 files changed, 548 insertions(+), 200 deletions(-) create mode 100644 lib/report.c create mode 100644 x86/debug.c
Signature · 1 line
1.8.1.1.298.ge7eed54