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)
commit0a234f5dd06582e82edec7cf17a0f971c5a4142e
treedde586deda9f1fc796e683760346b5c89b0abec1
parent1b6d9d9ed5717157933db77d96bb12884c17ce52
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