Skip to content
Commit cb3eedab authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: mmu: Separate updating a PTE from kvm_set_pte_rmapp



The TDP MMU's own function for the changed-PTE notifier will need to be
update a PTE in the exact same way as the shadow MMU.  Rather than
re-implementing this logic, factor the SPTE creation out of kvm_set_pte_rmapp.

Extracted out of a patch by Ben Gardon. <bgardon@google.com>

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 799a4190
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment