Changeset 20720 in vbox
- Timestamp:
- Jun 19, 2009 12:25:18 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48833
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl.cpp
r20719 r20720 3316 3316 */ 3317 3317 PVMREQ pReq; 3318 int vrc = VMR3ReqCall (mpVM, 0 , &pReq, 0 /* no wait! */,3318 int vrc = VMR3ReqCall (mpVM, 0 /*idDstCpu*/, &pReq, 0 /* no wait! */, 3319 3319 (PFNRT) Console::changeNetworkAttachment, 7, 3320 3320 this, pszDevice, uInstance, uLun, eAttachmentType, 3321 3321 meAttachmentType, aNetworkAdapter); 3322 /// @todo (r=dmik) bird, it would be nice to have a special VMR3Req method3323 // for that purpose, that doesn't return useless VERR_TIMEOUT3324 if (vrc == VERR_TIMEOUT)3325 vrc = VINF_SUCCESS;3326 3322 3327 3323 /* leave the lock before waiting for a result (EMT will call us back!) */ 3328 3324 alock.leave(); 3329 3325 3330 if ( VBOX_SUCCESS (vrc))3326 if (vrc == VERR_TIMEOUT || VBOX_SUCCESS (vrc)) 3331 3327 { 3332 3328 vrc = VMR3ReqWait (pReq, RT_INDEFINITE_WAIT);
Note:
See TracChangeset
for help on using the changeset viewer.