summaryrefslogtreecommitdiff
path: root/virt/kvm
diff options
context:
space:
mode:
authorDavid Hildenbrand <david@redhat.com>2017-03-23 11:46:03 +0100
committerRadim Krčmář <rkrcmar@redhat.com>2017-04-07 16:49:01 +0200
commit28bf28887976d8881a3a59491896c718fade7355 (patch)
tree13d9412a6691d493070e5e47312eb3aae3f0c3f1 /virt/kvm
parent4b4357e02523ec63ad853f927f5d93a25101a1d2 (diff)
KVM: x86: fix user triggerable warning in kvm_apic_accept_events()
If we already entered/are about to enter SMM, don't allow switching to INIT/SIPI_RECEIVED, otherwise the next call to kvm_apic_accept_events() will report a warning. Same applies if we are already in MP state INIT_RECEIVED and SMM is requested to be turned on. Refuse to set the VCPU events in this case. Fixes: cd7764fe9f73 ("KVM: x86: latch INITs while in system management mode") Cc: stable@vger.kernel.org # 4.2+ Reported-by: Dmitry Vyukov <dvyukov@google.com> Signed-off-by: David Hildenbrand <david@redhat.com> Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions