commit | 5d87db711937019cb8eba1137c37573d7a604be8 | [log] [tgz] |
---|---|---|
author | Radim Krčmář <rkrcmar@redhat.com> | Fri Oct 10 19:15:08 2014 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Nov 03 12:07:27 2014 +0100 |
tree | 70a0f1520417d855078bb9ef42c690008c6ceac4 | |
parent | 91690bf32ee12a85caf497ec01cfb47c0b298bac [diff] |
KVM: x86: add apic_timer_expired() Make the code reusable. If the timer was already pending, we shouldn't be waiting in a queue, so wake_up can be skipped, simplifying the path. There is no 'reinject' case => the comment is removed. Current race behaves correctly. Signed-off-by: Radim Krčmář <rkrcmar@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>