KVM: x86: Introduce a function to initialize the PT configuration
authorLuwei Kang <luwei.kang@intel.com>
Wed, 24 Oct 2018 08:05:13 +0000 (16:05 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 21 Dec 2018 10:28:36 +0000 (11:28 +0100)
commit6c0f0bba85a0de83b32ff8ccf3e5965815cc069b
tree85dc2dc54a778f84927cfe06175855b566e72d9c
parent2ef444f1600bfc2d8522df0f537aafef79befa7e
KVM: x86: Introduce a function to initialize the PT configuration

Initialize the Intel PT configuration when cpuid update.
Include cpuid inforamtion, rtit_ctl bit mask and the number of
address ranges.

Signed-off-by: Luwei Kang <luwei.kang@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c