summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/lapic.h
diff options
context:
space:
mode:
authorYang Zhang <yang.z.zhang@Intel.com>2013-04-11 11:21:38 (GMT)
committerMarcelo Tosatti <mtosatti@redhat.com>2013-04-16 02:20:34 (GMT)
commit106069193ce501ea68649037bde7ea50ed492948 (patch)
tree3dea2fb1878a3c8a116b88258f1324591433aa84 /arch/x86/kvm/lapic.h
parentb4f2225c07dd4d8eef7aa7f5b36a3b72c3cbbe5b (diff)
downloadlinux-106069193ce501ea68649037bde7ea50ed492948.tar.xz
KVM: Add reset/restore rtc_status support
restore rtc_status from migration or save/restore Signed-off-by: Yang Zhang <yang.z.zhang@Intel.com> Reviewed-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/kvm/lapic.h')
-rw-r--r--arch/x86/kvm/lapic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kvm/lapic.h b/arch/x86/kvm/lapic.h
index 3e5a431..16304b1 100644
--- a/arch/x86/kvm/lapic.h
+++ b/arch/x86/kvm/lapic.h
@@ -166,4 +166,6 @@ static inline bool kvm_apic_has_events(struct kvm_vcpu *vcpu)
return vcpu->arch.apic->pending_events;
}
+bool kvm_apic_pending_eoi(struct kvm_vcpu *vcpu, int vector);
+
#endif