diff options
author | 2020-07-10 16:11:50 +0200 | |
---|---|---|
committer | 2020-07-10 12:53:58 -0400 | |
commit | 8c008659aa43be97c60c1633074b8f52f9f4445c (patch) | |
tree | caf10a2eb37095d4de99dcc0e1cedd9e399695e9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: nSVM: split kvm_init_shadow_npt_mmu() from kvm_init_shadow_mmu() (diff) | |
download | wireguard-linux-8c008659aa43be97c60c1633074b8f52f9f4445c.tar.xz wireguard-linux-8c008659aa43be97c60c1633074b8f52f9f4445c.zip |
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 <vkuznets@redhat.com>.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20200710141157.1640173-3-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions