Re: [PATCH] hw/rtc: fix crash caused by lost_clock >= 0 assertion

2023-04-11 Thread Michael S. Tsirkin
On Mon, Dec 05, 2022 at 04:23:35PM +0800, Yaowei Bai wrote: > In our production environment a guest crashed with this log: > > qemu-kvm: > /home/abuild/rpmbuild/BUILD/qemu-5.0.0/hw/rtc/mc146818rtc.c:201: > periodic_timer_update: Assertion `lost_clock >= 0' failed. > 2022-09-26 10:00:28.7

[PATCH] hw/rtc: fix crash caused by lost_clock >= 0 assertion

2022-12-05 Thread Yaowei Bai
In our production environment a guest crashed with this log: qemu-kvm: /home/abuild/rpmbuild/BUILD/qemu-5.0.0/hw/rtc/mc146818rtc.c:201: periodic_timer_update: Assertion `lost_clock >= 0' failed. 2022-09-26 10:00:28.747+: shutting down, reason=crashed This happened after the host sync