diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-01-08 12:24:37 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-27 20:00:02 +0100 |
commit | f9b84e19221efc5f493156ee0329df3142085f28 (patch) | |
tree | 41e0332c9fc96b3cce1dfc5548a6e2cfcb1eba5f /fs/readdir.c | |
parent | mm: thp: KVM: Explicitly check for THP when populating secondary MMU (diff) | |
download | linux-dev-f9b84e19221efc5f493156ee0329df3142085f28.tar.xz linux-dev-f9b84e19221efc5f493156ee0329df3142085f28.zip |
KVM: Use vcpu-specific gva->hva translation when querying host page size
Use kvm_vcpu_gfn_to_hva() when retrieving the host page size so that the
correct set of memslots is used when handling x86 page faults in SMM.
Fixes: 54bf36aac520 ("KVM: x86: use vcpu-specific functions to read/write/translate GFNs")
Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'fs/readdir.c')
0 files changed, 0 insertions, 0 deletions