Skip to content

KVM: x86/mmu: Clean up hugepage split error handling

Sean Christopherson kvm lkml 1 version Applied

Status from this message: Queued, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2KVM: x86/mmu: Bug the VM if KVM tries to split a !hugepage SPTEarch/x86/kvm/mmu/spte.c+1 -50 replies
2/2KVM: x86/mmu: Clean up make_huge_page_split_spte() definition and introarch/x86/kvm/mmu/spte.c+3 -50 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/2] KVM: x86/mmu: Clean up hugepage split error handling

"Fix" an impossible scenario where KVM would install a '0' SPTE instead of using SHADOW_NONPRESENT_VALUE. In quotes because (a) there's not truly anything to fix (the code should never be hit), and (b) bugging the VM doesn't guarantee KVM won't get confused (though it's still better than installing an empty SPTE).

The main motivation for this is to eliminate installing a '0' SPTE so that future audits of the MMU don't complain about not using SHADOW_NONPRESENT_VALUE.

Sean Christopherson (2):
KVM: x86/mmu: Bug the VM if KVM tries to split a !hugepage SPTE
KVM: x86/mmu: Clean up make_huge_page_split_spte() definition and
intro

 arch/x86/kvm/mmu/spte.c | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

base-commit: 771df9ffadb8204e61d3e98f36c5067102aab78f

Signature · 1 line
2.45.2.993.g49e7a77208-goog