diff options
author | Eddie Dong <eddie.dong@intel.com> | 2007-09-03 09:15:12 -0400 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-10-13 04:18:26 -0400 |
commit | a3d7f85f471f889e4477863a7ca42828ae74e77d (patch) | |
tree | f75148a940f7e297da91f6a14ab573291ceb050f /drivers/kvm/irq.h | |
parent | 1b9778dae71dc64d3678d766c0f1fbed79c80f9f (diff) |
KVM: Migrate lapic hrtimer when vcpu moves to another cpu
This reduces overhead by accessing cachelines from the wrong node, as well
as simplifying locking.
[Qing: fix for inactive or expired one-shot timer]
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>
Diffstat (limited to 'drivers/kvm/irq.h')
-rw-r--r-- | drivers/kvm/irq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/kvm/irq.h b/drivers/kvm/irq.h index 87baf7e69ea2..f324cfb40084 100644 --- a/drivers/kvm/irq.h +++ b/drivers/kvm/irq.h | |||
@@ -158,5 +158,6 @@ void kvm_apic_timer_intr_post(struct kvm_vcpu *vcpu, int vec); | |||
158 | void kvm_timer_intr_post(struct kvm_vcpu *vcpu, int vec); | 158 | void kvm_timer_intr_post(struct kvm_vcpu *vcpu, int vec); |
159 | void kvm_inject_pending_timer_irqs(struct kvm_vcpu *vcpu); | 159 | void kvm_inject_pending_timer_irqs(struct kvm_vcpu *vcpu); |
160 | void kvm_inject_apic_timer_irqs(struct kvm_vcpu *vcpu); | 160 | void kvm_inject_apic_timer_irqs(struct kvm_vcpu *vcpu); |
161 | void kvm_migrate_apic_timer(struct kvm_vcpu *vcpu); | ||
161 | 162 | ||
162 | #endif | 163 | #endif |