diff options
author | David Matlack <dmatlack@google.com> | 2022-06-22 22:27:02 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-06-24 11:51:57 +0300 |
commit | 2ff9039a75a8c19fbbcef7fe74ea61a10e4639f3 (patch) | |
tree | 45b4b0ea81cc0bb1e16c2f8798431245511131fd /net/mpls | |
parent | 6ec6509eea39ee249550a398fd1790b26833675d (diff) | |
download | linux-2ff9039a75a8c19fbbcef7fe74ea61a10e4639f3.tar.xz |
KVM: x86/mmu: Decouple rmap_add() and link_shadow_page() from kvm_vcpu
Allow adding new entries to the rmap and linking shadow pages without a
struct kvm_vcpu pointer by moving the implementation of rmap_add() and
link_shadow_page() into inner helper functions.
No functional change intended.
Reviewed-by: Ben Gardon <bgardon@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: David Matlack <dmatlack@google.com>
Message-Id: <20220516232138.1783324-16-dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net/mpls')
0 files changed, 0 insertions, 0 deletions