[kvm-unit-tests v3 PATCH 0/3] vmx: Fix EPT accessed and dirty flag test

Cathy Avery
2022-02-16T17:01:57Z

Fixes to EPT test plus improvements to test_vmx_vmlaunch reporting.

* Changes in v3:
- Split fixes into 3 patches.
- Provide more detailed patch descriptions.
- Improve change log entries.

* Changes in v2:
- Use the saved EPTP to restore the EPTP after each sub-test instead of
manually unwinding what was done by the sub-test, which is error prone
and hard to follow
- Explicitly setup a dummy EPTP, as calling the test in isolation will cause
test failures due to lack a good starting EPTP
- Cleanup test_vmx_vmlaunch to generate clearer and
more consolidated test reports.
New format suggested by seanjc@google.com

Cathy Avery (3):
vmx: Cleanup test_vmx_vmlaunch to generate clearer and more
consolidated test reports
vmx: Explicitly setup a dummy EPTP in EPT accessed and dirty flag test
vmx: Correctly refresh EPTP value in EPT accessed and dirty flag test

x86/vmx_tests.c | 39 +++++++++++++++++++++++----------------
1 file changed, 23 insertions(+), 16 deletions(-)

--
2.31.1