[plug] Auto setting time in a qemu windows vm
nick at ucc.gu.uwa.edu.au
Sun Aug 10 15:38:25 UTC 2014
On Sun, Aug 10, 2014 at 07:33:54PM +0800, Bill Kenworthy wrote:
> I'll try ntp on it and see if it can resync reliably within a reasonable
> time (I use cron'd sntp on linux as straight ntp wasn't reliable -
> silent fail even when using "tinker panic 0") - I run the ntp server on
> a Cisco 1841 router with uwa and iinet as upstreams.
You might get better results with chrony or RADclock than ntpd.
> I was hoping someone new of a way to get time to sync from the
> hypervisor when the vm was resumed.
I expect there's a way for the guest to be notified that it's been
resumed and run a command, you might want to ask here:
However, the following suggests NTP with "w32tm /resync" - I expect you
could use that or "net time \\hostname /y" in a recurring at job.
"Timekeeping best practices for Windows, including NTP (1318)"
Nick Bannon | "I made this letter longer than usual because
nick-sig at rcpt.to | I lack the time to make it shorter." - Pascal
More information about the plug