Skip to content

vmx: Fix EPT accessed and dirty flag test

Cathy Avery kvm 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v21 patch 1 replySuperseded
  3. v11 patch 1 replySuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vmx: Cleanup test_vmx_vmlaunch to generate clearer and more consolidated test reportsx86/vmx_tests.c+14 -71 reply
2/3vmx: Explicitly setup a dummy EPTP in EPT accessed and dirty flag testx86/vmx_tests.c+4 -21 reply
3/3vmx: Correctly refresh EPTP value in EPT accessed and dirty flag testx86/vmx_tests.c+5 -71 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSean Christopherson
1/3R-b
2/3R-b
3/3R-b

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

Read the v3 thread

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

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 [email protected]

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(-)
Signature · 1 line
2.31.1