diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-03-03 02:56:35 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-16 19:58:18 +0300 |
commit | e574768f841ba600009da06b3027d9413dba868f (patch) | |
tree | e7405c75c9f58ac43616d17115d4549572547e31 /arch/x86/kvm/svm.c | |
parent | 5ffec6f910dc8998c9da9320550ffddebe2e7afc (diff) | |
download | linux-e574768f841ba600009da06b3027d9413dba868f.tar.xz |
KVM: x86: Handle UMIP emulation CPUID adjustment in VMX code
Move the CPUID adjustment for UMIP emulation into VMX code to eliminate
an instance of the undesirable "unsigned f_* = *_supported ? F(*) : 0"
pattern in the common CPUID handling code.
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 'arch/x86/kvm/svm.c')
0 files changed, 0 insertions, 0 deletions