Changeset 83197 in vbox
- Timestamp:
- Mar 4, 2020 9:18:18 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/VMM/VMMR3/CPUM.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CPUM.cpp
r82968 r83197 4560 4560 { 4561 4561 PVMCPU pVCpu = pVM->apCpusR3[idCpu]; 4562 char aszTimerName[128]; 4563 RTStrPrintf(&aszTimerName[0], sizeof(aszTimerName), "Nested Guest VMX-preempt. timer %u", idCpu); 4562 /* The string cannot live on the stack. It should be safe to call MMR3HeapAPrintf here as 4563 MMR3HyperInitFinalize has already completed at this point. */ 4564 char *pszTimerName = MMR3HeapAPrintf(pVM, MM_TAG_CPUM_CTX, "Nested Guest VMX-preempt. timer %u", idCpu); 4564 4565 int rc = TMR3TimerCreateInternal(pVM, TMCLOCK_VIRTUAL_SYNC, cpumR3VmxPreemptTimerCallback, pVCpu, 4565 aszTimerName, &pVCpu->cpum.s.pNestedVmxPreemptTimerR3);4566 pszTimerName, &pVCpu->cpum.s.pNestedVmxPreemptTimerR3); 4566 4567 AssertLogRelRCReturn(rc, rc); 4567 4568 pVCpu->cpum.s.pNestedVmxPreemptTimerR0 = TMTimerR0Ptr(pVCpu->cpum.s.pNestedVmxPreemptTimerR3);
Note:
See TracChangeset
for help on using the changeset viewer.

