- Timestamp:
- Sep 19, 2013 10:16:57 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMR0.cpp
r48506 r48566 1350 1350 /* On first entry we'll sync everything. */ 1351 1351 for (VMCPUID i = 0; i < pVM->cCpus; i++) 1352 pVM->aCpus[i].hm.s.fContextUseFlags = (HM_CHANGED_HOST_CONTEXT | HM_CHANGED_ALL_GUEST);1352 VMCPU_HMCF_RESET_TO(&pVM->aCpus[i], HM_CHANGED_HOST_CONTEXT | HM_CHANGED_ALL_GUEST); 1353 1353 1354 1354 /* Enable VT-x or AMD-V if local init is required. */ … … 1398 1398 1399 1399 /* Reload host-context (back from ring-3/migrated CPUs), reload host context & shared bits. */ 1400 pVCpu->hm.s.fContextUseFlags |= HM_CHANGED_HOST_CONTEXT | HM_CHANGED_HOST_GUEST_SHARED_STATE;1400 VMCPU_HMCF_SET(pVCpu, HM_CHANGED_HOST_CONTEXT | HM_CHANGED_HOST_GUEST_SHARED_STATE); 1401 1401 pVCpu->hm.s.idEnteredCpu = idCpu; 1402 1402 return rc; … … 1433 1433 Assert(pCpu); 1434 1434 Assert(pCtx); 1435 Assert( pVCpu->hm.s.fContextUseFlags & (HM_CHANGED_HOST_CONTEXT | HM_CHANGED_HOST_GUEST_SHARED_STATE));1435 Assert(VMCPU_HMCF_IS_PENDING(pVCpu, HM_CHANGED_HOST_CONTEXT | HM_CHANGED_HOST_GUEST_SHARED_STATE)); 1436 1436 1437 1437 rc = g_HvmR0.pfnEnterSession(pVM, pVCpu, pCpu);
Note:
See TracChangeset
for help on using the changeset viewer.