Guest’s Clock Problems

This is for discussing general topics about how to use VirtualBox.
Post Reply
SwetikTswetik
Posts: 2
Joined: 23. Dec 2009, 12:16
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Microsoft Windows

Guest’s Clock Problems

Post by SwetikTswetik »

Hello!
I need my guest to flash-back a long long time ago, so approximately back to 2006. But problem is that my guest is just damned stubbornly synchronize itself with my host!!!
Also sure in this case it would be good to slow down guest’s time to its net working time at the same time.


It appears as if this point of built-in help content would be the solving:
“9.15. Configuring the guest time stamp counter (TSC) to reflect guest execution”
but it unfortunately does not want work. Due to the note:
“This special TSC handling mode can be enabled on a per-VM basis, and for best results must be used only in combination with hardware virtualization”
both these options have I enabled:
Enable VT-x/AMD-V
Enable Nested Paging

but still no anticipated results.




Windows Guest Additions on guest – installed.

What could I do wrong else? Maybe wrong entry in the “Command Prompt”?
I first time deal with “Command Prompt”, thus I might not understand using “VBoxManage setextradata "My VM" "VBoxInternal/TM/TSCTiedToExecution" 1” command process grosso mode.
Path in the “Command Prompt” must not be with printing errors, but I used automated means by “Total Commander” & “Paste” command.
Here the snapshot.
Image
http://content.foto.mail.ru/mail/no-nothing/2/i-4.jpg

VM Name - "XP - Virus-Checka"
Sun xVM VirtualBox Install directory - "C:\-XP-TOOZ-XP-\Sun - xVM VirtualBox\"

host - Microsoft Windows XP
Professional x64 Edition
Version 2003
Service Pack 2


guest - Microsoft® Windows Xp-Wlndows 7 Viena Service Pack 3 Version 2008- 2009
type: 32-bit Operating


Please help me out somehow!
constant
Volunteer
Posts: 151
Joined: 25. Nov 2007, 07:36
Primary OS: openSUSE
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windowses
Location: Queensland, Australia
Contact:

Re: Guest’s Clock Problems

Post by constant »

.
What if you set the host time back.
.
SwetikTswetik
Posts: 2
Joined: 23. Dec 2009, 12:16
Primary OS: MS Windows Vista
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Microsoft Windows

Re: Guest’s Clock Problems

Post by SwetikTswetik »

constant wrote:.
What if you set the host time back.
.
Then Guest sets its time after Host and sticks to it strictly.
That is directly the problem i told about right above! :wink:

:mrgreen: Happy New Year to ALL :mrgreen:
MarkCranness
Volunteer
Posts: 875
Joined: 10. Oct 2009, 06:27
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows Server 2008 R2; Ubuntu 11.04; Windows 2000 Server; Windows XP

Re: Guest’s Clock Problems

Post by MarkCranness »

Try:

Code: Select all

VBoxManage setextradata "My VM" "VBoxInternal/TM/UTCOffset" -126144000000000000
... this should set the VM clock to be in sync with the host clock, BUT 4 years in the past (4*365*24*60*60*10^9 ns).

Edit: This can also be set using:

Code: Select all

VBoxManage modifyvm "My VM" --biossystemtimeoffset <msec>
... this should set the VM clock to be in sync with the host clock, but <msec> (milliseconds) offset. Negative numbers put the VM clock in the past, positive numbers put the VM into the future.
Post Reply