[Bug 33788] The VMs clock is off

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jun 14 18:57:55 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=33788

--- Comment #1 from François Gouget <fgouget at codeweavers.com> 2013-06-14 18:57:55 CDT ---
The problem with the above commands is that on some VMs the 'Internet Time
Synchronization' service is not running. For instance this is the case on the
Windows 7 Ultimate VM. I'm pretty sure I did not explicitly make it so and also
that it's running in some other VMs. I kind of like the variety though. But it
does complicate the use of these commands.

Another approach would be to use cmd's basic "time HH:MM" and "date YYYY-MM-DD"
commands. They won't let us set the clock with sub-second accuracy but I really
don't think that matters. The advantages are that they work everywhere (I
think), take effect instantly (I think the time synchronization commands
sometimes skew the clock to resynchronize it), and don't depend on the time
service to be running.

In all cases we should be doing the time synchronization in RevertVM.pl: send
the appropriate command before the 30s sleep.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list