Changeset 13766 in vbox for trunk/src/VBox/VMM/VMReq.cpp
- Timestamp:
- Nov 3, 2008 5:30:25 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMReq.cpp
r13765 r13766 618 618 * Also, store pVM (and fFlags) locally since pReq may be invalid after queuing it. 619 619 */ 620 RTNATIVETHREAD hCurrentThread = RTThreadNativeSelf(); 620 621 int rc = VINF_SUCCESS; 621 622 PUVM pUVM = ((VMREQ volatile *)pReq)->pUVM; /* volatile paranoia */ 622 623 if ( pReq->enmDest == VMREQDEST_ALL 623 && pUVM->vm.s.NativeThreadEMT != RTThreadNativeSelf())624 && pUVM->vm.s.NativeThreadEMT != hCurrentThread) 624 625 { 625 626 unsigned fFlags = ((VMREQ volatile *)pReq)->fFlags; /* volatile paranoia */ … … 652 653 else 653 654 if ( pReq->enmDest != VMREQDEST_ALL 654 && pUVM->aCpu[pReq->enmDest].vm.s.NativeThreadEMT != RTThreadNativeSelf())655 && pUVM->aCpu[pReq->enmDest].vm.s.NativeThreadEMT != hCurrentThread) 655 656 { 656 657 RTCPUID idTarget = (RTCPUID)pReq->enmDest;
Note:
See TracChangeset
for help on using the changeset viewer.