]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita441a78464ec98b2096090f69c99244eb7961976
treee9d58fac4317901de8b84f364632b45f5010754e
parentd6dd9780b131ba546e5db4e2dbb7fcae1b083b46
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