]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86/mmu: Pass the memslot to the rmap callbacks
authorSean Christopherson <seanjc@google.com>
Sat, 13 Feb 2021 00:50:05 +0000 (16:50 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Feb 2021 08:08:12 +0000 (03:08 -0500)
commit9aa7e75dd7883f9f6ec966b3a451be91e9480556
treedde586deda9f1fc796e683760346b5c89b0abec1
parent349fe2e665c9151edf7fcdd23de55293971eb89a
KVM: x86/mmu: Pass the memslot to the rmap callbacks

Pass the memslot to the rmap callbacks, it will be used when zapping
collapsible SPTEs to verify the memslot is compatible with hugepages
before zapping its SPTEs.

No functional change intended.

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