Opened 14 years ago
Last modified 4 years ago
#7582 closed defect
Restore from resume does not trigger timesync — at Initial Version
Reported by: | Perry G | Owned by: | |
---|---|---|---|
Component: | guest additions | Version: | VirtualBox 3.2.10 |
Keywords: | time sync | Cc: | |
Guest type: | Linux | Host type: | Linux |
Description
Pause a guest and wait for 2 minutes to any time you choose and then resume. Time will be off for the amount of time the guest was suspended. I waited 30 minutes to an hour and the time never adjusted smoothly or other wise.
I can run (elevated) VBoxService --timesync-set-threshold 1000 and as long as the guest is running (not rebooted) it appears that the time will sync within about 2-3 seconds after resuming.
I tried setting VBoxManage guestproperty set VM_NAME "/VirtualBox/GuestAdd/VBoxService/timesync-set-threshold" 1000 (with guest shut off) and verified that it was written to the machine.xml and started the guest. Paused,waited 3 minutes, & resumed. Thime did not reset. The only way I can get this to work is to set it on the guest while running as SU/SUDO and the VBoxService with parms. as stated above.
Question: What if anything will happen while running like this, and what am I missing since it does not work setting it with VBoxManage?