aboutsummaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-04-02 08:05:19 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2021-04-17 08:31:04 -0400
commitdbb6964e4c38509936719223530acb1870cd6e86 (patch)
tree697cb3afcd09d2b28d9013a216fd301e7375d187 /virt/kvm
parentKVM: s390x: implement KVM_CAP_SET_GUEST_DEBUG2 (diff)
downloadlinux-dev-dbb6964e4c38509936719223530acb1870cd6e86.tar.xz
linux-dev-dbb6964e4c38509936719223530acb1870cd6e86.zip
KVM: MMU: protect TDP MMU pages only down to required level
When using manual protection of dirty pages, it is not necessary to protect nested page tables down to the 4K level; instead KVM can protect only hugepages in order to split them lazily, and delay write protection at 4K-granularity until KVM_CLEAR_DIRTY_LOG. This was overlooked in the TDP MMU, so do it there as well. Fixes: a6a0b05da9f37 ("kvm: x86/mmu: Support dirty logging for the TDP MMU") Cc: Ben Gardon <bgardon@google.com> Reviewed-by: Keqian Zhu <zhukeqian1@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions