commit | cb3eedab453911ca177c1e2e44add0b7fe4a6f09 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Sep 28 10:17:17 2020 -0400 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Oct 21 18:16:59 2020 -0400 |
tree | 44a2274b59336bd2036e1a3f07701fe5069288a4 | |
parent | 799a4190e7341b9bb24549245f2b8f7d11c65360 [diff] |
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: Paolo Bonzini <pbonzini@redhat.com>