summaryrefslogtreecommitdiff
path: root/kvm_lapic.c
diff options
context:
space:
mode:
authorBryan Cantrill <bryan@joyent.com>2011-08-01 14:59:44 -0700
committerBryan Cantrill <bryan@joyent.com>2011-08-01 14:59:44 -0700
commit1c0b3b8f7bfb63054f9681143bf58ec3e3e77ecd (patch)
tree48ff059490e2fd29ebf38b4d4ee9510336543b45 /kvm_lapic.c
parentf0707d07a4288a781a2192ad77c94b97251a9bb5 (diff)
downloadillumos-kvm-1c0b3b8f7bfb63054f9681143bf58ec3e3e77ecd.tar.gz
HVM-326 support (or remove) KVM timer migration
Diffstat (limited to 'kvm_lapic.c')
-rw-r--r--kvm_lapic.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/kvm_lapic.c b/kvm_lapic.c
index 2376802..d991287 100644
--- a/kvm_lapic.c
+++ b/kvm_lapic.c
@@ -1208,24 +1208,6 @@ kvm_apic_post_state_restore(struct kvm_vcpu *vcpu)
}
void
-__kvm_migrate_apic_timer(struct kvm_vcpu *vcpu)
-{
-#ifdef XXX
- struct kvm_lapic *apic = vcpu->arch.apic;
- struct hrtimer *timer;
-
- if (!apic)
- return;
-
- timer = &apic->lapic_timer.timer;
- if (hrtimer_cancel_p(timer))
- kvm_hrtimer_start_expires(timer, HRTIMER_MODE_ABS);
-#else
- XXX_KVM_PROBE;
-#endif
-}
-
-void
kvm_lapic_sync_from_vapic(struct kvm_vcpu *vcpu)
{
uint32_t data;