[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [for 4.2 PATCH 0/3] Remove time reset notifications
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [for 4.2 PATCH 0/3] Remove time reset notifications |
Date: |
Mon, 22 Jul 2019 18:46:28 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 22/07/19 17:07, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert" <address@hidden>
>
> Timers have a mechanism for detecting host clock jumps; this relied
> on noticing if the time had gone backwards or if it had gone forward
> more than 60s since we last read it. This had assumed that we regularly
> read the time, which isn't true any more - we might not read the host
> timer until the guest explicitly reads the guest RTC (e.g. hwclock).
> This falsely triggers the reset mechanism.
>
> The reset mechanism was only used by the mc146818 (i.e. PC) RTC
> anyway; so lets remove it.
>
> Dr. David Alan Gilbert (3):
> mc146818rtc: Remove reset notifiers
> timer: Remove reset notifiers
> timer: last, remove last bits of last
>
> hw/timer/mc146818rtc.c | 19 -------------------
> include/qemu/timer.h | 35 ----------------------------------
> replay/replay-snapshot.c | 3 +--
> util/qemu-timer.c | 41 +---------------------------------------
> 4 files changed, 2 insertions(+), 96 deletions(-)
>
Queued, thanks.
Paolo