[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XEN PATCH] x86/vhpet: Add option to always fire hpet timer on resume
27.08.2025, 12:09, "Roger Pau Monné" <roger.pau@xxxxxxxxxx>:
Yes, snapshot was taken with 'xl save'.
Yes, the domain was paused, I made a mistake in wording. and the memory I've seen broken snapshots, but was not paying attention to the state of the running domain after the save. So unfortunately I can't answer this question. I'll try to reproduce it, but it is like one snapshot per month or less. Also, if there is no 'halt' - then the domain is restored without any issues (even if I break the saved HPET state intentionally).
At first I tried to change memory save and HVM save order (currently save() from tools/libs/guest/xg_sr_save.c first saves the memory and ony after that it saves HVM state (HPET included, which was counting forward all that time). But since the domain pausing and HPET state save can't be done atomically (at least AFAIK), there always will be a case like: 1) Windows sets compator to 0xffffffff 2) Counter reaches 0x1fffffffe 3) Xen pauses the domain 4) Xen saves HPET state I think there is no way to say for sure, if it is an overflow or it is just a long wait. Such a long wait is almost impossible (at least on WIndows), but nothing prevents other guest OS from it. Also, if there is a VM with huge memory space and the disk device is very slow or busy) - HPET counter may reach any value.
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |