diff options
author | Marcelo Tosatti | 2019-10-10 14:30:08 +0200 |
---|---|---|
committer | Paolo Bonzini | 2019-10-22 09:38:38 +0200 |
commit | b429de730174b388ea5760e3debb0d542ea3c261 (patch) | |
tree | bb4e25d48417b7146908ba771241a23ed15f693e /po | |
parent | target/i386: log MCE guest and host addresses (diff) | |
download | qemu-b429de730174b388ea5760e3debb0d542ea3c261.tar.gz qemu-b429de730174b388ea5760e3debb0d542ea3c261.tar.xz qemu-b429de730174b388ea5760e3debb0d542ea3c261.zip |
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 'po')
0 files changed, 0 insertions, 0 deletions