diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2021-07-02 15:04:51 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-08-02 09:36:37 -0400 |
commit | 7fa2a347512ab06ea1558302564879c060d52b0c (patch) | |
tree | 73fef19a673dc8c5b2e80f11f084163eca998f4a /arch/csky | |
parent | 03fffc5493c8c8d850586df5740c985026c313bf (diff) |
KVM: x86/mmu: Return old SPTE from mmu_spte_clear_track_bits()
Return the old SPTE when clearing a SPTE and push the "old SPTE present"
check to the caller. Private shadow page support will use the old SPTE
in rmap_remove() to determine whether or not there is a linked private
shadow page.
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <b16bac1fd1357aaf39e425aab2177d3f89ee8318.1625186503.git.isaku.yamahata@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/csky')
0 files changed, 0 insertions, 0 deletions