- Timestamp:
- May 30, 2010 3:21:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImplTeleporter.cpp
r29250 r29882 989 989 Console::teleporterTrg(PVM pVM, IMachine *pMachine, bool fStartPaused, Progress *pProgress) 990 990 { 991 LogThisFunc(("pVM=%p pMachine=%p fStartPaused=%RTbool pProgress=%p\n", pVM, pMachine, fStartPaused, pProgress)); 992 991 993 /* 992 994 * Get the config. … … 1058 1060 theState.mhServer = hServer; 1059 1061 1062 bool fPowerOff; 1060 1063 void *pvUser = static_cast<void *>(static_cast<TeleporterState *>(&theState)); 1061 1064 if (pProgress->setCancelCallback(teleporterProgressCancelCallback, pvUser)) … … 1065 1068 pProgress->setCancelCallback(NULL, NULL); 1066 1069 1067 boolfPowerOff = false;1070 fPowerOff = false; 1068 1071 if (vrc == VERR_TCP_SERVER_STOP) 1069 1072 { … … 1102 1105 fPowerOff = true; 1103 1106 } 1104 1105 if (fPowerOff)1106 {1107 int vrc2 = VMR3PowerOff(pVM);1108 AssertRC(vrc2);1109 }1110 1107 } 1111 1108 else 1109 { 1110 LogThisFunc(("Canceled - check point #1\n")); 1112 1111 vrc = VERR_SSM_CANCELLED; 1112 fPowerOff = true; 1113 } 1114 1115 if (fPowerOff) 1116 { 1117 int vrc2 = VMR3PowerOff(pVM); 1118 AssertRC(vrc2); 1119 } 1113 1120 } 1114 1121
Note:
See TracChangeset
for help on using the changeset viewer.