]> 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)
commit880ac4d243f776db5332ff05235953aae77f2c9a
treedde586deda9f1fc796e683760346b5c89b0abec1
parentf8b560fbb30847a619fc896d57e1920e414f8bc3
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