Skip to content

Fix the #PF injection logic for smaller MAXPHYADDR in nested.

Yu Zhang kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: X86: Initialize 'fault' in kvm_fixup_and_inject_pf_error().arch/x86/kvm/x86.c+1 -12 replies
2/2KVM: X86: Fix the comments in prepare_vmcs02_rare()arch/x86/kvm/vmx/nested.c+4 -43 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] Fix the #PF injection logic for smaller MAXPHYADDR in nested.

KVM shall inject the #PF directly to L2 when L2 has a smaller MAXPHYADDR and L1 has no desire to intercept it, yet currently the #PF will be delivered to L1 anyway.

Patch 1 fixes this, by initializing the 'fault' variable. Patch 2 is just a cleanup for the comments.

Yu Zhang (2):
KVM: X86: Initialize 'fault' in kvm_fixup_and_inject_pf_error().
KVM: X86: Fix the comments in prepare_vmcs02_rare()

 arch/x86/kvm/vmx/nested.c | 8 ++++----
 arch/x86/kvm/x86.c        | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
Signature · 1 line
2.25.1