commit | 1b9778dae71dc64d3678d766c0f1fbed79c80f9f | [log] [tgz] |
---|---|---|
author | Eddie Dong <eddie.dong@intel.com> | Mon Sep 03 16:56:58 2007 +0300 |
committer | Avi Kivity <avi@qumranet.com> | Sat Oct 13 10:18:26 2007 +0200 |
tree | 3196bbfe474119a849f35aefddb5e0922205850f | |
parent | 6e5d865c0b9679b00b5e5f0754c9fc2b6b9894d6 [diff] |
KVM: Keep track of missed timer irq injections APIC timer IRQ is set every time when a certain period expires at host time, but the guest may be descheduled at that time and thus the irq be overwritten by later fire. This patch keep track of firing irq numbers and decrease only when the IRQ is injected to guest or buffered in APIC. Signed-off-by: Yaozu (Eddie) Dong <Eddie.Dong@intel.com> Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>