KVM: VMX: join functions that disable x2apic msr intercepts
authorRadim Krčmář <rkrcmar@redhat.com>
Thu, 29 Sep 2016 20:41:32 +0000 (22:41 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 2 Nov 2016 20:32:17 +0000 (21:32 +0100)
commit2e69f8656139fc3f28079ed5019a2a475e175f0a
treee9d58fac4317901de8b84f364632b45f5010754e
parent40d8338d095e6117112f4d303e5d6cf776069e38
KVM: VMX: join functions that disable x2apic msr intercepts

vmx_disable_intercept_msr_read_x2apic() and
vmx_disable_intercept_msr_write_x2apic() differed only in the type.
Pass the type to a new function.

[Ordered and commented TPR intercept according to Paolo's suggestion.]
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c