KVM: x86: mmu: remove argument to kvm_init_shadow_mmu and kvm_init_shadow_ept_mmu
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 2 Oct 2013 14:56:14 +0000 (16:56 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 8 Jan 2015 21:48:02 +0000 (22:48 +0100)
commitad896af0b50ed656e38a31fca1fdb7bb7533db45
treea633dad0d81ed0707fae701975845599beaa3d2b
parente0c6db3e22f564d91832547a2432ab00f215108e
KVM: x86: mmu: remove argument to kvm_init_shadow_mmu and kvm_init_shadow_ept_mmu

The initialization function in mmu.c can always use walk_mmu, which
is known to be vcpu->arch.mmu.  Only init_kvm_nested_mmu is used to
initialize vcpu->arch.nested_mmu.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/mmu.c
arch/x86/kvm/mmu.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c