summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.h
diff options
context:
space:
mode:
authorOliver Upton <oupton@google.com>2019-12-14 01:33:58 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-27 19:59:49 +0100
commitd196842150e046a523f75785438137a9243c9627 (patch)
tree32f8d6a27ec30759584aaf3d2b0f99f6bb8a7224 /arch/x86/kvm/x86.h
parentKVM: x86: Remove unused ctxt param from emulator's FPU accessors (diff)
downloadlinux-d196842150e046a523f75785438137a9243c9627.tar.xz
linux-d196842150e046a523f75785438137a9243c9627.zip
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