diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2016-09-12 18:18:35 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-09-13 19:09:44 +0200 |
commit | 78d6a05d2f69cbfa6e95f0a4a24a2c934969913b (patch) | |
tree | 72e2b11bf5889ddd86178c79c27dc57c48a2161a /include | |
parent | 0342454f8aa6fc55e515bad26425533e10b58085 (diff) | |
download | qemu-78d6a05d2f69cbfa6e95f0a4a24a2c934969913b.zip qemu-78d6a05d2f69cbfa6e95f0a4a24a2c934969913b.tar.gz qemu-78d6a05d2f69cbfa6e95f0a4a24a2c934969913b.tar.bz2 |
x86/lapic: Load LAPIC state at post_load
Load the LAPIC state during post_load (rather than when the CPU
starts).
This allows an interrupt to be delivered from the ioapic to
the lapic prior to cpu loading, in particular the RTC that starts
ticking as soon as we load it's state.
Fixes a case where Windows hangs after migration due to RTC interrupts
disappearing.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/sysemu/kvm.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sysemu/kvm.h b/include/sysemu/kvm.h index 4938f65..f2a7b3b 100644 --- a/include/sysemu/kvm.h +++ b/include/sysemu/kvm.h @@ -371,7 +371,6 @@ int kvm_irqchip_send_msi(KVMState *s, MSIMessage msg); void kvm_irqchip_add_irq_route(KVMState *s, int gsi, int irqchip, int pin); -void kvm_put_apic_state(DeviceState *d, struct kvm_lapic_state *kapic); void kvm_get_apic_state(DeviceState *d, struct kvm_lapic_state *kapic); struct kvm_guest_debug; |