diff options
author | Oliver Upton <oupton@google.com> | 2019-12-14 03:33:58 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-01-27 21:59:49 +0300 |
commit | d196842150e046a523f75785438137a9243c9627 (patch) | |
tree | 32f8d6a27ec30759584aaf3d2b0f99f6bb8a7224 /arch/x86/kvm/x86.h | |
parent | c0a21c3f9d9b21a4bd67a46d96eaeb372b0daf20 (diff) | |
download | linux-d196842150e046a523f75785438137a9243c9627.tar.xz |
KVM: nVMX: WARN on failure to set IA32_PERF_GLOBAL_CTRL
Writes to MSR_CORE_PERF_GLOBAL_CONTROL should never fail if the VM-exit
and VM-entry controls are exposed to L1. Promote the checks to perform a
full WARN if kvm_set_msr() fails and remove the now unused macro
SET_MSR_OR_WARN().
Suggested-by: Sean Christopherson <sean.j.christopherson@intel.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Oliver Upton <oupton@google.com>
Reviewed-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.h')
0 files changed, 0 insertions, 0 deletions