diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-01-23 09:22:40 -0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-01-25 19:11:33 +0100 |
commit | de81c2f912ef57917bdc6d63b410c534c3e07982 (patch) | |
tree | eb65307e6eb62bb7a11fc0fa8e48a745dc4a9983 /arch/x86/kvm/svm.c | |
parent | 1ed199a41c70ad7bfaee8b14f78e791fcf43b278 (diff) | |
download | lwn-de81c2f912ef57917bdc6d63b410c534c3e07982.tar.gz lwn-de81c2f912ef57917bdc6d63b410c534c3e07982.zip |
KVM: x86: WARN_ONCE if sending a PV IPI returns a fatal error
KVM hypercalls return a negative value error code in case of a fatal
error, e.g. when the hypercall isn't supported or was made with invalid
parameters. WARN_ONCE on fatal errors when sending PV IPIs as any such
error all but guarantees an SMP system will hang due to a missing IPI.
Fixes: aaffcfd1e82d ("KVM: X86: Implement PV IPIs in linux guest")
Cc: stable@vger.kernel.org
Cc: Wanpeng Li <wanpengli@tencent.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