diff options
| author | David Hildenbrand <david@redhat.com> | 2017-03-23 11:46:03 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-20 14:27:00 +0200 |
| commit | 7b268351860c8f9faee86335659118920d7b853b (patch) | |
| tree | 518935d649a05b5ada5021334b14c1a4708938f7 /tools/perf/scripts/python/bin | |
| parent | a2d5dcf338ea85c939789591c51c74e692aa2855 (diff) | |
KVM: x86: fix user triggerable warning in kvm_apic_accept_events()
commit 28bf28887976d8881a3a59491896c718fade7355 upstream.
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")
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
