]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Expand on the comment in kvm_vcpu_ad_need_write_protect()
authorSean Christopherson <seanjc@google.com>
Sat, 13 Feb 2021 00:50:08 +0000 (16:50 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Feb 2021 08:08:33 +0000 (03:08 -0500)
commit741d5dcdaf786d6475472da3eb487999db1f8c82
treec2000339d633bed93401a646168acd6cc94d0afe
parent92b5693cb48944b03942187de94fa1a46c084587
KVM: x86/mmu: Expand on the comment in kvm_vcpu_ad_need_write_protect()

Expand the comment about need to use write-protection for nested EPT
when PML is enabled to clarify that the tagging is a nop when PML is
_not_ enabled.  Without the clarification, omitting the PML check looks
wrong at first^Wfifth glance.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210213005015.1651772-8-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu_internal.h