aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/virt/kvm/x86/mmu.rst
diff options
context:
space:
mode:
authorLai Jiangshan <jiangshan.ljs@antgroup.com>2022-04-20 21:12:03 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2022-04-29 12:50:00 -0400
commit767d8d8d503f946c7a67735e77dea7e1c9cb6b51 (patch)
treeb2114c64a31d58808569378567fbe382b8b559e4 /Documentation/virt/kvm/x86/mmu.rst
parent9f084f7c2ed7e6b8cc3176b9ece2f6cb0641c385 (diff)
downloadlinux-767d8d8d503f946c7a67735e77dea7e1c9cb6b51.tar.gz
KVM: X86/MMU: Add sp_has_gptes()
Add sp_has_gptes() which equals to !sp->role.direct currently. Shadow page having gptes needs to be write-protected, accounted and responded to kvm_mmu_pte_write(). Use it in these places to replace !sp->role.direct and rename for_each_gfn_indirect_valid_sp. Signed-off-by: Lai Jiangshan <jiangshan.ljs@antgroup.com> Message-Id: <20220420131204.2850-2-jiangshanlai@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Documentation/virt/kvm/x86/mmu.rst')
0 files changed, 0 insertions, 0 deletions