diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-11-21 19:00:31 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-01-13 10:20:50 -0600 |
commit | fbc15e27f760b45c74c9ed7de07d2a7dd13d2034 (patch) | |
tree | 4282bdc836608426977169d9540150907c1bda71 /hw/lm32_timer.c | |
parent | 663447d4ead009efd8959fe9f7055398dacd6db4 (diff) |
rtc: clear non-PF bits when reinjecting on ack
When an rtc interrupt is reinjected immediately after being acked,
other interrupts should not be reinjected, so do clear their bits.
Also, if the periodic interrupts have been disabled before acking,
do not reinject, as the guest might get very confused!
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/lm32_timer.c')
0 files changed, 0 insertions, 0 deletions