VirtualBox

Changeset 56794 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jul 3, 2015 4:26:42 PM (9 years ago)
Author:
vboxsync
Message:

VMM/GIM: Reset KVM's uTSC and uVirtNanoTS so it gets fresh values on VM reset, probably makes no difference but helps test the code more.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/GIMKvm.cpp

    r56791 r56794  
    265265        PGIMKVMCPU pKvmCpu = &pVM->aCpus[iCpu].gim.s.u.KvmCpu;
    266266        pKvmCpu->u64SystemTimeMsr = 0;
     267        pKvmCpu->uTsc = 0;
     268        pKvmCpu->uVirtNanoTS = 0;
    267269    }
    268270}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette