KVM: pit: Do not check pending pit timer in vcpu thread
authorJason Wang <jasowang@redhat.com>
Fri, 27 Aug 2010 09:15:06 +0000 (17:15 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:45 +0000 (10:51 +0200)
commit23e7a7944f3779155e2f6bbc831b544eb925f387
tree8c8be289ae3fea799ebf94f363748ae97bd00994
parent989044ee0fdc6c22a11ea1d22e2a3d17463cb564
KVM: pit: Do not check pending pit timer in vcpu thread

Pit interrupt injection was done by workqueue, so no need to check
pending pit timer in vcpu thread which could lead unnecessary
unblocking of vcpu.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/i8254.c
arch/x86/kvm/irq.c