summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-06-22 13:20:33 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2020-07-08 16:21:55 -0400
commit573546820b792ef620acbfaa16bdf24ffbb1007b (patch)
tree1d15a92ce16a9e266719d6ae8dc876ec6a2b6fa9 /kernel
parent985ab2780164698ec6e7d73fad523d50449261dd (diff)
KVM: x86/mmu: Add sptep_to_sp() helper to wrap shadow page lookup
Introduce sptep_to_sp() to reduce the boilerplate code needed to get the shadow page associated with a spte pointer, and to improve readability as it's not immediately obvious that "page_header" is a KVM-specific accessor for retrieving a shadow page. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Message-Id: <20200622202034.15093-6-sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions