On Thu, Jan 11, 2018 at 2:23 AM, Mike Larkin <mlar...@azathoth.net> wrote:
>> Following your hint at vmmci and looking at
>> https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys/dev/pv/vmmci.c.diff?r1=1.2&r2=1.3&f=h
>> it looks like inittodr(9) would reinitialize the software clock.
>> However it seems to be available inside the kernel only. Is there no
>> way to do this from userland?
>
> not that I know of.

Not quite what I'd hoped for... now resorting to periodically updating
the clock:

while true; do date +%Y%m%d%H%M.%S | ssh virtual_machine 'date; xargs
doas date'; sleep 60; done

Reply via email to