: kvm-unit-test: nVMX: Test deferring of error from VM-entry MSR-load area
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | kvm-unit-test: VMX: Replace hard-coded exit instruction lengthx86/ | +14 | 1 reply | |
| 2/4 | kvm-unit-test: nVMX: __enter_guest() needs to also check for VMX_FAIL_STATEx86/ | +2 | 2 replies | |
| 3/4 | kvm-unit-test: nVMX: Test deferring of error from VM-entry MSR-load areax86/ | +119 | 0 replies | |
| 4/4 | kvm-unit-test: nVMX: Use #defines for exit reason in advance_guest_state_test()x86/ | +1 | 1 reply |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | Liran Alon | Karl Heubaum | Jim Mattson |
|---|---|---|---|
| 1/4 | R-b | R-b | R-b |
| 2/4 | R-b | ||
| 3/4 | R-b | ||
| 4/4 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 0/4]: kvm-unit-test: nVMX: Test deferring of error from VM-entry MSR-load area
Patch# 1: Replaces hard-coded value with instruction length read from VMCS
field.
Patch# 2: Adds an extra check to __enter_guest() so that it can distinguish
between VM-entry failure due to invalid guest state and that due to invalid VM-entry MSR-load area.
Patch# 3: Verifies that when VM-entry fails due to invalid VM-entry MSR-load
area in vmcs12, the error is deferred and caught by hardware when it is done processing higher priority checks such as guest state etc. This patch also verifies that when VM-entry fails due to invalid VM-entry MSR-load area in vmcs12, MSRs that were loaded from that MSR-load area are rolled back to their original values.
Patch# 4: Replaces hard-coded value with corresponding #define.
[PATCH 1/4] kvm-unit-test: VMX: Replace hard-coded exit instruction length [PATCH 2/4] kvm-unit-test: nVMX: __enter_guest() needs to also check for [PATCH 3/4] kvm-unit-test: nVMX: Test deferring of error from VM-entry MSR-load area [PATCH 4/4] kvm-unit-test: nVMX: Use #defines for exit reason in
x86/vmx.c | 3 +- x86/vmx_tests.c | 139 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 136 insertions(+), 6 deletions(-)
Krish Sadhukhan (4):
VMX: Replace hard-coded exit instruction length
VMX: __enter_guest() needs to also check for VMX_FAIL_STATE
nVMX: Test deferring of error from VM-entry MSR-load area
nVMX: Use #defines for exit reason in advance_guest_state_test()