In vmt_tick() we could notice anytime the reported sensor value jumps
significantly and then wind forward the clocks like we do when
recovering from ACPI sleep.

On Wed, Jul 25, 2012 at 10:52 AM, Ted Unangst <t...@tedunangst.com> wrote:
> I have an OpenBSD guest running in vmware player on my laptop.  My
> problem is that when I suspend the laptop, the clock in vmware doesn't
> keep ticking, and before I know it, openbsd thinks it's last Monday.
>
> I see vmt provides a timedelta sensor, but I don't think ntp is up to
> the task of jamming the clock forward hours at a time whenever I resume.
>
> Any other ideas?  Do I need to run a once a minute cron job to set the
> clock to whatever the vmt sensor tells me?

Reply via email to