diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2018-10-04 10:04:23 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-10-17 00:30:12 +0200 |
commit | e7912386ede89d2aa1f72ebb74969e48e9d5f56c (patch) | |
tree | 6a70d452d025c90e5ab55ae438863b91e223dbb9 /virt | |
parent | 8daf346226b22e565baf27ccaec58fed9e108b42 (diff) |
KVM: x86: reintroduce pte_list_remove, but including mmu_spte_clear_track_bits
rmap_remove() removes the sptep after locating the correct rmap_head but,
in several cases, the caller has already known the correct rmap_head.
This patch introduces a new pte_list_remove(); because it is known that
the spte is present (or it would not have an rmap_head), it is safe
to remove the tracking bits without any previous check.
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions