|
@@ -49,22 +49,19 @@ typedef struct SaveVMHandlers {
|
|
/* Note for save_live_pending:
|
|
/* Note for save_live_pending:
|
|
* - res_precopy_only is for data which must be migrated in precopy phase
|
|
* - res_precopy_only is for data which must be migrated in precopy phase
|
|
* or in stopped state, in other words - before target vm start
|
|
* or in stopped state, in other words - before target vm start
|
|
- * - res_compatible is for data which may be migrated in any phase
|
|
|
|
* - res_postcopy_only is for data which must be migrated in postcopy phase
|
|
* - res_postcopy_only is for data which must be migrated in postcopy phase
|
|
* or in stopped state, in other words - after source vm stop
|
|
* or in stopped state, in other words - after source vm stop
|
|
*
|
|
*
|
|
- * Sum of res_postcopy_only, res_compatible and res_postcopy_only is the
|
|
|
|
- * whole amount of pending data.
|
|
|
|
|
|
+ * Sum of res_postcopy_only and res_postcopy_only is the whole
|
|
|
|
+ * amount of pending data.
|
|
*/
|
|
*/
|
|
/* This estimates the remaining data to transfer */
|
|
/* This estimates the remaining data to transfer */
|
|
void (*state_pending_estimate)(void *opaque,
|
|
void (*state_pending_estimate)(void *opaque,
|
|
uint64_t *res_precopy_only,
|
|
uint64_t *res_precopy_only,
|
|
- uint64_t *res_compatible,
|
|
|
|
uint64_t *res_postcopy_only);
|
|
uint64_t *res_postcopy_only);
|
|
/* This calculate the exact remaining data to transfer */
|
|
/* This calculate the exact remaining data to transfer */
|
|
void (*state_pending_exact)(void *opaque,
|
|
void (*state_pending_exact)(void *opaque,
|
|
uint64_t *res_precopy_only,
|
|
uint64_t *res_precopy_only,
|
|
- uint64_t *res_compatible,
|
|
|
|
uint64_t *res_postcopy_only);
|
|
uint64_t *res_postcopy_only);
|
|
LoadStateHandler *load_state;
|
|
LoadStateHandler *load_state;
|
|
int (*load_setup)(QEMUFile *f, void *opaque);
|
|
int (*load_setup)(QEMUFile *f, void *opaque);
|