Changeset 2053 in vbox for trunk/src/VBox/Devices/VMMDev/VBoxDev.cpp
- Timestamp:
- Apr 12, 2007 4:10:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/VMMDev/VBoxDev.cpp
r2027 r2053 382 382 { 383 383 VMMDevState *pData = (VMMDevState*)pvUser; 384 int rcRet = VINF_SUCCESS; 384 385 int rc; 385 386 … … 712 713 { 713 714 LogRel(("Guest requests the VM to be suspended (paused)\n")); 714 requestHeader->rc = PDMDevHlpVMSuspend(pDevIns);715 requestHeader->rc = rcRet = PDMDevHlpVMSuspend(pDevIns); 715 716 break; 716 717 } … … 719 720 { 720 721 LogRel(("Guest requests the VM to be turned off\n")); 721 requestHeader->rc = PDMDevHlpVMPowerOff(pDevIns); /** @todo pass the rc around! */722 requestHeader->rc = rcRet = PDMDevHlpVMPowerOff(pDevIns); 722 723 break; 723 724 } … … 1149 1150 } 1150 1151 1151 return VINF_SUCCESS;1152 return rcRet; 1152 1153 } 1153 1154
Note:
See TracChangeset
for help on using the changeset viewer.