Message ID | 20090813093934.GA23736@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/x86/kvm/i8254.c b/arch/x86/kvm/i8254.c index b857ca3..aa7f68e 100644 --- a/arch/x86/kvm/i8254.c +++ b/arch/x86/kvm/i8254.c @@ -325,6 +325,9 @@ static void pit_load_count(struct kvm *kvm, int channel, u32 val) return; } + atomic_set(&pt->pending, 0); + ps->irq_ack = 1; + /* Two types of timer * mode 1 is one shot, mode 2 is period, otherwise del timer */ switch (ps->channels[0].mode) {