aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2015-01-20 15:44:59 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2015-02-06 14:04:36 +0000
commit237c255c6cefefda9c5dd077860cfa20a77d9a6a (patch)
tree9a71ee27822125ac9767dbb71658f4b8fda03b57 /net
parent442469e61d276440d485b80514c0df89266fdc13 (diff)
downloadqemu-237c255c6cefefda9c5dd077860cfa20a77d9a6a.zip
qemu-237c255c6cefefda9c5dd077860cfa20a77d9a6a.tar.gz
qemu-237c255c6cefefda9c5dd077860cfa20a77d9a6a.tar.bz2
rtl8139: simplify timer logic
Pavel Dovgalyuk reports that TimerExpire and the timer are not restored correctly on the receiving end of migration. It is not clear to me whether this is really the case, but we can take the occasion to get rid of the complicated code that computes PCSTimeout on the fly upon changes to IntrStatus/IntrMask. Just always keep a timer running, it will fire every ~130 seconds at most if the interrupt is masked with TimerInt != 0. This makes rtl8139_set_next_tctr_time idempotent (when the virtual clock is stopped between two calls, as is the case during migration). Tested with Frediano's qtest. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1421765099-26190-1-git-send-email-pbonzini@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions