nVMX: Clean up __enter_guest() and co.
Status from this message: Queued, thanks.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | nVMX: Eliminate superfluous entry_failure_handler() wrapperx86/ | +3 | 0 replies | |
| 2/8 | nVMX: Refactor VM-Entry "failure" struct into "result"x86/ x86/ x86/ | +112 | 2 replies | |
| 3/8 | nVMX: Consolidate non-canonical code in test_canonical()x86/ | +17 | 0 replies | |
| 4/8 | nVMX: Drop redundant check for guest terminationx86/ | +0 | 0 replies | |
| 5/8 | nVMX: Expose __enter_guest() and consolidate guest state test codex86/ x86/ x86/ | +40 | 0 replies | |
| 6/8 | nVMX: Pass exit reason union to v1 exit handlersx86/ x86/ x86/ | +88 | 0 replies | |
| 7/8 | nVMX: Pass exit reason union to is_hypercall()x86/ | +7 | 0 replies | |
| 8/8 | nVMX: Pass exit reason enum to print_vmexit_info()x86/ x86/ x86/ | +28 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [kvm-unit-tests PATCH 0/8] nVMX: Clean up __enter_guest() and co.
Start chipping away at the crustiness in the nVMX tests by refactoring "struct vmentry_failure" into "struct vmentry_result", with the full VM-Exit stored in vmentry_result. Capturing the exit reason allows for a variety of cleanups and consolidations.
This series really only dives into the v1 tests. I'd like to also clean up the v2 tests, e.g. take the expected exit reason in enter_guest() so that the expected behavior is more obvious, but that's a more invasive cleanup for another day.
Sean Christopherson (8):
nVMX: Eliminate superfluous entry_failure_handler() wrapper
nVMX: Refactor VM-Entry "failure" struct into "result"
nVMX: Consolidate non-canonical code in test_canonical()
nVMX: Drop redundant check for guest termination
nVMX: Expose __enter_guest() and consolidate guest state test code
nVMX: Pass exit reason union to v1 exit handlers
nVMX: Pass exit reason union to is_hypercall()
nVMX: Pass exit reason enum to print_vmexit_info()
x86/vmx.c | 191 +++++++++++-------------- x86/vmx.h | 50 +++++-- x86/vmx_tests.c | 366 +++++++++++++++++++----------------------------- 3 files changed, 263 insertions(+), 344 deletions(-)
Signature · 1 line
2.24.1