KVM: LAPIC: make sure IRR bitmap is scanned after vm load
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 14 Dec 2009 19:37:35 +0000 (17:37 -0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Sun, 27 Dec 2009 15:36:31 +0000 (13:36 -0200)
commit6e24a6eff4571002cd48b99a2b92dc829ce39cb9
tree138178ac1e5bb085a293e7dff414788b5ae93fe2
parentfae3a3536a6fecedebd49fa847f810e599bfb132
KVM: LAPIC: make sure IRR bitmap is scanned after vm load

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.

Cc: stable@kernel.org
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/lapic.c