Changeset 23596 in vbox for trunk/src/VBox/VMM/SSM.cpp
- Timestamp:
- Oct 7, 2009 2:43:08 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/SSM.cpp
r23595 r23596 4125 4125 * @param enmAfter What to do afterwards. 4126 4126 * @param pfnProgress The progress callback. 4127 * @param pv UserThe progress callback user argument.4127 * @param pvProgressUser The progress callback user argument. 4128 4128 * @param ppSSM Where to return the pointer to the saved state 4129 4129 * handle upon successful return. Free it using … … 4131 4131 */ 4132 4132 static int ssmR3SaveDoCreateFile(PVM pVM, const char *pszFilename, PCSSMSTRMOPS pStreamOps, void *pvStreamOpsUser, 4133 SSMAFTER enmAfter, PFNVMPROGRESS pfnProgress, void *pv User, PSSMHANDLE *ppSSM)4133 SSMAFTER enmAfter, PFNVMPROGRESS pfnProgress, void *pvProgressUser, PSSMHANDLE *ppSSM) 4134 4134 { 4135 4135 PSSMHANDLE pSSM = (PSSMHANDLE)RTMemAllocZ(sizeof(*pSSM)); … … 4146 4146 pSSM->fLiveSave = false; 4147 4147 pSSM->pfnProgress = pfnProgress; 4148 pSSM->pvUser = pv User;4148 pSSM->pvUser = pvProgressUser; 4149 4149 pSSM->uPercent = 0; 4150 4150 pSSM->offEstProgress = 0; … … 4621 4621 * 4622 4622 * @param pVM The VM handle. 4623 * @param pszFilename Name of the file to save the state in. 4623 * @param pszFilename Name of the file to save the state in. This string 4624 4624 * must remain valid until SSMR3LiveDone is called. 4625 * Must be NULL if pStreamOps is used. 4626 * @param pStreamOps The stream method table. NULL if pszFilename is 4627 * used. 4628 * @param pvStreamOpsUser The user argument to the stream methods. 4625 4629 * @param enmAfter What is planned after a successful save operation. 4626 4630 * @param pfnProgress Progress callback. Optional. 4627 * @param pv UserUser argument for the progress callback.4631 * @param pvProgressUser User argument for the progress callback. 4628 4632 * 4629 4633 * @thread EMT0 … … 7048 7052 * @param pStreamOps The stream method table. NULL if pszFilename is 7049 7053 * used. 7050 * @param p StreamOpsUserThe user argument for the stream methods.7054 * @param pvStreamOpsUser The user argument for the stream methods. 7051 7055 * @param enmAfter What is planned after a successful load operation. 7052 7056 * Only acceptable values are SSMAFTER_RESUME and SSMAFTER_DEBUG_IT. 7053 7057 * @param pfnProgress Progress callback. Optional. 7054 * @param pv UserUser argument for the progress callback.7058 * @param pvProgressUser User argument for the progress callback. 7055 7059 * 7056 7060 * @thread EMT
Note:
See TracChangeset
for help on using the changeset viewer.