Skip to content

Fixes for mmu access unit test

Avi Kivity kvm 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5test: access: split off test case formatting from executionkvm/user/test/x86/access.c+8 -20 replies
2/5test: access: consolidate test failure reporting into a functionkvm/user/test/x86/access.c+37 -230 replies
3/5test: access: report successful tests optionallykvm/user/test/x86/access.c+13 -20 replies
4/5test: access: allow the processor not to set pde.a if a fault occurskvm/user/test/x86/access.c+20 -50 replies
5/5test: access: don't expect fetch fault indication if !efer.nxkvm/user/test/x86/access.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Fixes for mmu access unit test

The mmu access unit test fails when testing real processor (e.g. with npt or ept). In one case this was because the test was too restrictive (more than one result is allowed) and in another both the test and kvm shadow mmu are faulty.

This patchset fixes the test. Another patch will follow fixing kvm (but only after nnpt is merged).

Avi Kivity (5):
test: access: split off test case formatting from execution
test: access: consolidate test failure reporting into a function
test: access: report successful tests optionally
test: access: allow the processor not to set pde.a if a fault occurs
test: access: don't expect fetch fault indication if !efer.nx

 kvm/user/test/x86/access.c |  106 ++++++++++++++++++++++++++++++++------------
 1 files changed, 77 insertions(+), 29 deletions(-)