]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: Fix PV IPIs for 32-bit KVM host
authorSean Christopherson <sean.j.christopherson@intel.com>
Wed, 23 Jan 2019 17:22:39 +0000 (09:22 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 25 Jan 2019 18:11:32 +0000 (19:11 +0100)
commited171f66c1ca4fcc0d2b02a9205608354c5f6b73
tree6b13882a3c7f14cd8dc5b39f58c07252f436d587
parent8d543c890c3e99d36246f67a2691c846b6bbef0f
KVM: x86: Fix PV IPIs for 32-bit KVM host

The recognition of the KVM_HC_SEND_IPI hypercall was unintentionally
wrapped in "#ifdef CONFIG_X86_64", causing 32-bit KVM hosts to reject
any and all PV IPI requests despite advertising the feature.  This
results in all KVM paravirtualized guests hanging during SMP boot due
to IPIs never being delivered.

Fixes: a8f4d4efbc1e ("KVM: X86: Implement "send IPI" hypercall")
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>
arch/x86/kvm/x86.c