Changeset 50655 in vbox for trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
- Timestamp:
- Feb 28, 2014 4:53:46 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r50614 r50655 2105 2105 Assert(!VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_TLB_SHOOTDOWN)); 2106 2106 2107 /* Don't assert that VMCPU_FF_TLB_FLUSH should no longer pending. It can be set by other EMTs. */2107 /* Don't assert that VMCPU_FF_TLB_FLUSH should no longer be pending. It can be set by other EMTs. */ 2108 2108 } 2109 2109 … … 4563 4563 if (pVCpu->hm.s.vmx.pfnStartVM != VMXR0SwitcherStartVM64) 4564 4564 { 4565 if (pVCpu->hm.s.vmx.pfnStartVM != NULL) /* Very first entry would have saved host-state already, ignore it. */ 4566 { 4567 /* Currently, all mode changes sends us back to ring-3, so these should be set. See @bugref{6944}. */ 4568 AssertMsg(HMCPU_CF_IS_SET(pVCpu, HM_CHANGED_HOST_CONTEXT | HM_CHANGED_VMX_EXIT_CTLS | HM_CHANGED_VMX_ENTRY_CTLS), 4569 ("flags=%#x\n", HMCPU_CF_VALUE(pVCpu))); 4570 } 4565 4571 pVCpu->hm.s.vmx.pfnStartVM = VMXR0SwitcherStartVM64; 4566 /* Currently, all mode changes sends us back to ring-3, so these should be set. See @bugref{6944}. */4567 Assert(HMCPU_CF_IS_SET(pVCpu, HM_CHANGED_HOST_CONTEXT | HM_CHANGED_VMX_EXIT_CTLS | HM_CHANGED_VMX_ENTRY_CTLS));4568 4572 } 4569 4573 #else … … 4578 4582 if (pVCpu->hm.s.vmx.pfnStartVM != VMXR0StartVM32) 4579 4583 { 4584 if (pVCpu->hm.s.vmx.pfnStartVM != NULL) /* Very first entry would have saved host-state already, ignore it. */ 4585 { 4586 /* Currently, all mode changes sends us back to ring-3, so these should be set. See @bugref{6944}. */ 4587 AssertMsg(HMCPU_CF_IS_SET(pVCpu, HM_CHANGED_HOST_CONTEXT | HM_CHANGED_VMX_EXIT_CTLS | HM_CHANGED_VMX_ENTRY_CTLS), 4588 ("flags=%#x\n", HMCPU_CF_VALUE(pVCpu))); 4589 } 4580 4590 pVCpu->hm.s.vmx.pfnStartVM = VMXR0StartVM32; 4581 /* Currently, all mode changes sends us back to ring-3, so these should be set. See @bugref{6944}. */4582 Assert(HMCPU_CF_IS_SET(pVCpu, HM_CHANGED_HOST_CONTEXT | HM_CHANGED_VMX_EXIT_CTLS | HM_CHANGED_VMX_ENTRY_CTLS));4583 4591 } 4584 4592 #else
Note:
See TracChangeset
for help on using the changeset viewer.