]> www.infradead.org Git - users/dwmw2/linux.git/commit
KVM: x86: Clean up documentation for KVM_X86_QUIRK_SLOT_ZAP_ALL
authorSean Christopherson <seanjc@google.com>
Wed, 9 Oct 2024 19:23:45 +0000 (12:23 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sun, 20 Oct 2024 11:31:05 +0000 (07:31 -0400)
commit5a279842441b68727d53b6333d0c3af90dd5a2f8
tree0dbddcf084a9e75d1711213abdbb3d2648702e4e
parent28cf4978810791bf30288e59f1b9dc31eeeb68e6
KVM: x86: Clean up documentation for KVM_X86_QUIRK_SLOT_ZAP_ALL

Massage the documentation for KVM_X86_QUIRK_SLOT_ZAP_ALL to call out that
it applies to moved memslots as well as deleted memslots, to avoid KVM's
"fast zap" terminology (which has no meaning for userspace), and to reword
the documented targeted zap behavior to specifically say that KVM _may_
zap a subset of all SPTEs.  As evidenced by the fix to zap non-leafs SPTEs
with gPTEs, formally documenting KVM's exact internal behavior is risky
and unnecessary.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-ID: <20241009192345.1148353-4-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/virt/kvm/api.rst