- Timestamp:
- Sep 1, 2013 10:46:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r48219 r48220 4067 4067 { 4068 4068 /* Guest is not in long mode, use the 32-bit handler. */ 4069 #if HC_ARCH_BITS == 32 && !defined(VBOX_WITH_HYBRID_32BIT_KERNEL) 4070 if (pVCpu->hm.s.vmx.pfnStartVM != VMXR0StartVM32) 4071 { 4072 pVCpu->hm.s.vmx.pfnStartVM = VMXR0StartVM32; 4073 /** @todo r=bird: Don't we need to set up the host resume (after 4074 * vmlaunch/vmresume) state here?? I'm forcing a trip to ring-3 now 4075 * in the hope that it will prevent crashing the host. A better 4076 * fix should be found as the guest may be going back and forth 4077 * between 16/32-bit and long mode frequently at times. */ 4078 VMCPU_FF_SET(pVCpu, VMCPU_FF_TO_R3); 4079 } 4080 #else 4069 4081 pVCpu->hm.s.vmx.pfnStartVM = VMXR0StartVM32; 4082 #endif 4070 4083 } 4071 4084 Assert(pVCpu->hm.s.vmx.pfnStartVM); … … 7335 7348 return VINF_EM_RAW_TO_R3; 7336 7349 } 7337 elseif (RTThreadPreemptIsPending(NIL_RTTHREAD))7350 if (RTThreadPreemptIsPending(NIL_RTTHREAD)) 7338 7351 { 7339 7352 ASMSetFlags(pVmxTransient->uEflags);
Note:
See TracChangeset
for help on using the changeset viewer.