KVM: x86/mmu: Consolidate comments about {Host,MMU}-writable
authorDavid Matlack <dmatlack@google.com>
Tue, 25 Jan 2022 23:07:23 +0000 (23:07 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 10 Feb 2022 18:50:33 +0000 (13:50 -0500)
commit02844ac1eb3413c53cb05a59b36980b59b690244
treeb1936db4478f607a98f0060434e2b0142ba61054
parent1ca87e015d9972f73c6b160b223ba1e0c5a9b1e3
KVM: x86/mmu: Consolidate comments about {Host,MMU}-writable

Consolidate the large comment above DEFAULT_SPTE_HOST_WRITABLE with the
large comment above is_writable_pte() into one comment. This comment
explains the different reasons why an SPTE may be non-writable and KVM
keeps track of that with the {Host,MMU}-writable bits.

No functional change intended.

Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220125230723.1701061-1-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu/mmu.c
arch/x86/kvm/mmu/spte.h