summaryrefslogtreecommitdiff
path: root/src/VBox
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2015-07-08 09:35:12 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2015-07-08 09:35:12 +0000
commit72cd8d52439de606198c872a606044cd36f7a8db (patch)
tree2f58d45f4460cebb26f099dc9d60b0e8d54b1043 /src/VBox
parent553555d39907948fc9bc01e5643eb590909af6bb (diff)
downloadVirtualBox-svn-72cd8d52439de606198c872a606044cd36f7a8db.tar.gz
VMM/GIM/KVM: Reset the TSC page sequence number on VM reset as well.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@56852 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox')
-rw-r--r--src/VBox/VMM/VMMR3/GIMKvm.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/VBox/VMM/VMMR3/GIMKvm.cpp b/src/VBox/VMM/VMMR3/GIMKvm.cpp
index c68dc798ff4..ad6a8cb9efa 100644
--- a/src/VBox/VMM/VMMR3/GIMKvm.cpp
+++ b/src/VBox/VMM/VMMR3/GIMKvm.cpp
@@ -264,6 +264,9 @@ VMMR3_INT_DECL(void) gimR3KvmReset(PVM pVM)
{
PGIMKVMCPU pKvmCpu = &pVM->aCpus[iCpu].gim.s.u.KvmCpu;
pKvmCpu->u64SystemTimeMsr = 0;
+ pKvmCpu->u32SystemTimeVersion = 0;
+ pKvmCpu->fSystemTimeFlags = 0;
+ pKvmCpu->GCPhysSystemTime = 0;
pKvmCpu->uTsc = 0;
pKvmCpu->uVirtNanoTS = 0;
}