]> err.no Git - linux-2.6/commit
KVM: PIT: take inject_pending into account when emulating hlt
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 6 May 2008 16:32:54 +0000 (13:32 -0300)
committerAvi Kivity <avi@qumranet.com>
Sun, 18 May 2008 11:34:15 +0000 (14:34 +0300)
commiteedaa4e2af681a266c084c410238855bdfbc2787
treef9cb896f19b8b67ad01159bfd48cb1744ba4dd28
parent5ca9fd54e3d75489ff9c70d7af6e0b9a390dd656
KVM: PIT: take inject_pending into account when emulating hlt

Otherwise hlt emulation fails if PIT is not injecting IRQ's.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/i8254.c