On Sat, Mar 14, 2020 at 09:58:23PM +0200, Nikita Leshenko wrote: > I think that the reason that open-vm-tools doesn't move time backwards is to > help applications that treat wallclock time as if it's monotonic time and > break > if the date is moved backwards (which may happen more frequently in virtual > environment so it's handled specifically). But this doesn't change the fact > that > this PV interface is for reporting wall time. > So I couldn't understand what > source other than gettimeofday() you were suggesting for Liran to use to > report > wallclock time.
Some kind of offset to wallclock time I'm guessing. For example, we could save wall clock on vm save, and if it goes backwards on vm load, add an offset. -- MST