aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kvm/kvm_onhyperv.c
diff options
context:
space:
mode:
authorVipin Sharma <[email protected]>2023-03-21 15:00:20 -0700
committerSean Christopherson <[email protected]>2023-04-04 12:37:30 -0700
commit1f9973456e802199e863030ed09493419a02f6c7 (patch)
tree6f772215f41738888e5560ee3214c253e9c602c8 /arch/x86/kvm/kvm_onhyperv.c
parent0b7cc2547d5329b996b6687e04a82ed4eef1adda (diff)
KVM: x86/mmu: Remove handle_changed_spte_dirty_log()
Remove handle_changed_spte_dirty_log() as there is no code flow which sets 4KiB SPTE writable and hit this path. This function marks the page dirty in a memslot only if new SPTE is 4KiB in size and writable. Current users of handle_changed_spte_dirty_log() are: 1. set_spte_gfn() - Create only non writable SPTEs. 2. write_protect_gfn() - Change an SPTE to non writable. 3. zap leaf and roots APIs - Everything is 0. 4. handle_removed_pt() - Sets SPTEs to REMOVED_SPTE 5. tdp_mmu_link_sp() - Makes non leaf SPTEs. There is also no path which creates a writable 4KiB without going through make_spte() and this functions takes care of marking SPTE dirty in the memslot if it is PT_WRITABLE. Signed-off-by: Vipin Sharma <[email protected]> Reviewed-by: David Matlack <[email protected]> [sean: add blurb to __handle_changed_spte()'s comment] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'arch/x86/kvm/kvm_onhyperv.c')
0 files changed, 0 insertions, 0 deletions