KVM: LAPIC: make sure IRR bitmap is scanned after vm load
commit3b96f9a68db8401e73955a6f6c33ec08ffed9e96
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 14 Dec 2009 19:37:35 +0000 (14 17:37 -0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jan 2010 23:04:01 +0000 (6 15:04 -0800)
tree2c5e44ac2c93b766e71d45ffbe204f5c23ad2ac5
parent3a9f99234194d5f6c987098c288f29f200dabf5e
KVM: LAPIC: make sure IRR bitmap is scanned after vm load

commit 6e24a6eff4571002cd48b99a2b92dc829ce39cb9 upstream.

The vcpus are initialized with irr_pending set to false, but
loading the LAPIC registers with pending IRR fails to reset
the irr_pending variable.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/lapic.c