KVM: Don't mistreat edge-triggered INIT IPI as INIT de-assert. (LAPIC)
authorJulian Stecklina <js@alien8.de>
Mon, 16 Jan 2012 13:02:20 +0000 (14:02 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:43 +0000 (14:52 +0200)
commita52315e1d549dad80ff443151927226c11fd8c2b
tree8b23219f2e916c53941994bbcba756aee8c4bf46
parentb93a35532767a2cf78bdbc88730d5c28aa66b941
KVM: Don't mistreat edge-triggered INIT IPI as INIT de-assert. (LAPIC)

If the guest programs an IPI with level=0 (de-assert) and trig_mode=0 (edge),
it is erroneously treated as INIT de-assert and ignored, but to quote the
spec: "For this delivery mode [INIT de-assert], the level flag must be set to
0 and trigger mode flag to 1."

Signed-off-by: Julian Stecklina <js@alien8.de>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/lapic.c