]> Git Repo - qemu.git/commit
x86/lapic: Load LAPIC state at post_load
authorDr. David Alan Gilbert <[email protected]>
Mon, 12 Sep 2016 17:18:35 +0000 (18:18 +0100)
committerPaolo Bonzini <[email protected]>
Tue, 13 Sep 2016 17:09:44 +0000 (19:09 +0200)
commit78d6a05d2f69cbfa6e95f0a4a24a2c934969913b
tree72e2b11bf5889ddd86178c79c27dc57c48a2161a
parent0342454f8aa6fc55e515bad26425533e10b58085
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 <[email protected]>
Suggested-by: Paolo Bonzini <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
hw/i386/kvm/apic.c
include/sysemu/kvm.h
target-i386/kvm.c
This page took 0.026962 seconds and 4 git commands to generate.