commit | 4780c65904f0fc4e312ee2da9383eacbe04e61ea | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Sun Jan 04 18:06:06 2009 +0200 |
committer | Avi Kivity <avi@redhat.com> | Tue Mar 24 11:03:03 2009 +0200 |
tree | 24f085916e1a795f67ddc72fee26d2684fe2fb77 | |
parent | 75858a84a6207f5e60196f6bbd18fde4250e5759 [diff] |
KVM: Reset PIT irq injection logic when the PIT IRQ is unmasked While the PIT is masked the guest cannot ack the irq, so the reinject logic will never allow the interrupt to be injected. Fix by resetting the reinjection counters on unmask. Unbreaks Xen. Signed-off-by: Avi Kivity <avi@redhat.com>