diff options
author | Paolo Bonzini <[email protected]> | 2020-07-10 16:11:50 +0200 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2020-07-10 12:53:58 -0400 |
commit | 8c008659aa43be97c60c1633074b8f52f9f4445c (patch) | |
tree | caf10a2eb37095d4de99dcc0e1cedd9e399695e9 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 0f04a2ac4fe96bbf05b7ac7d3e94598db550d6b8 (diff) |
KVM: MMU: stop dereferencing vcpu->arch.mmu to get the context for MMU init
kvm_init_shadow_mmu() was actually the only function that could be called
with different vcpu->arch.mmu values. Now that kvm_init_shadow_npt_mmu()
is separated from kvm_init_shadow_mmu(), we always know the MMU context
we need to use and there is no need to dereference vcpu->arch.mmu pointer.
Based on a patch by Vitaly Kuznetsov <[email protected]>.
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: Vitaly Kuznetsov <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions