Skip to content

kvm-unit-tests: more instr. interceptions, debug control migration

Jan Kiszka kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest6 patches 3 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6VMX: Add tests for CR3 and CR8 interceptionx86/vmx.h x86/vmx_tests.c+31 -32 replies
2/6VMX: Rework test stage interfacex86/vmx.c x86/vmx.h x86/vmx_tests.c+151 -1290 replies
3/6VMX: Test both interception and execution of instructionsx86/vmx_tests.c+72 -490 replies
4/6VMX: Unify vmx_ctrl_* unions to vmx_ctrl_msrx86/vmx.c x86/vmx.h+9 -300 replies
5/6VMX: Validate capability MSRsx86/vmx.c x86/vmx.h+76 -33 replies
6/6VMX: Test behavior on set and cleared save/load debug controlsx86/vmx.h x86/vmx_tests.c+114 -00 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchPaolo Bonzini
1/6
2/6
3/6
4/6
5/6R-b
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] kvm-unit-tests: more instr. interceptions, debug control migration

Changes in v2 according to review remarks:
- refactored get/set_stage interface
- unified vmx_ctrl_* unions
- used vmx_ctrl_msr in capability test
- changed commented-out debugctl tests

Jan Kiszka (6):
VMX: Add tests for CR3 and CR8 interception
VMX: Rework test stage interface
VMX: Test both interception and execution of instructions
VMX: Unify vmx_ctrl_* unions to vmx_ctrl_msr
VMX: Validate capability MSRs
VMX: Test behavior on set and cleared save/load debug controls

 x86/vmx.c       | 108 ++++++++++++-
 x86/vmx.h       |  44 ++---
 x86/vmx_tests.c | 495 ++++++++++++++++++++++++++++++++++++--------------------
 3 files changed, 443 insertions(+), 204 deletions(-)
Signature · 1 line
1.8.1.1.298.ge7eed54