diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-03-02 15:56:38 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-16 17:58:20 +0100 |
commit | dbd068040c64162fbbfa278eb63ef64704190612 (patch) | |
tree | c8887e9137599f73fee9cd5cff48f4d0f07a2d52 /net | |
parent | 733deafc00df1dda5130fc14f87a1d3993913243 (diff) | |
download | linux-dbd068040c64162fbbfa278eb63ef64704190612.tar.bz2 |
KVM: x86: Handle Intel PT CPUID adjustment in VMX code
Move the Processor Trace CPUID adjustment into VMX code to eliminate
an instance of the undesirable "unsigned f_* = *_supported ? F(*) : 0"
pattern in the common CPUID handling code, and to pave the way toward
eventually removing ->pt_supported().
No functional change intended.
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions