diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2019-10-10 09:30:08 -0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-10-22 09:38:38 +0200 |
commit | b429de730174b388ea5760e3debb0d542ea3c261 (patch) | |
tree | bb4e25d48417b7146908ba771241a23ed15f693e /docs | |
parent | 73284563dce268bade300370a8b20728d3866afe (diff) |
mc146818rtc: fix timer interrupt reinjection
commit 369b41359af46bded5799c9ef8be2b641d92e043 broke timer interrupt
reinjection when there is no period change by the guest.
In that case, old_period is 0, which ends up zeroing irq_coalesced
(counter of reinjected interrupts).
The consequence is Windows 7 is unable to synchronize time via NTP.
Easily reproducible by playing a fullscreen video with cirrus and VNC.
Fix by not updating s->irq_coalesced when old_period is 0.
V2: reorganize code (Paolo Bonzini)
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Message-Id: <20191010123008.GA19158@amt.cnet>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions