Re: [PATCH v2 1/1] goldfish_rtc: keep time offset when resetting

2025-03-31 Thread Philippe Mathieu-Daudé
On 21/3/25 23:12, Heinrich Schuchardt wrote: Currently resetting the leads to resynchronizing the Goldfish RTC with the system clock of the host. In real hardware an RTC reset would not change the wall time. Other RTCs like pl031 do not show this behavior. Move the synchronization of the RTC wit

[PATCH v2 1/1] goldfish_rtc: keep time offset when resetting

2025-03-21 Thread Heinrich Schuchardt
Currently resetting the leads to resynchronizing the Goldfish RTC with the system clock of the host. In real hardware an RTC reset would not change the wall time. Other RTCs like pl031 do not show this behavior. Move the synchronization of the RTC with the system clock to the instance realization.