|
@@ -290,10 +290,6 @@
|
|
|
#
|
|
|
# @total: total amount of bytes involved in the migration process
|
|
|
#
|
|
|
-# @total-time: total amount of ms since migration started. If
|
|
|
-# migration has ended, it returns the total migration
|
|
|
-# time. (since 1.2)
|
|
|
-#
|
|
|
# @duplicate: number of duplicate pages (since 1.2)
|
|
|
#
|
|
|
# @normal : number of normal pages (since 1.2)
|
|
@@ -304,8 +300,7 @@
|
|
|
##
|
|
|
{ 'type': 'MigrationStats',
|
|
|
'data': {'transferred': 'int', 'remaining': 'int', 'total': 'int' ,
|
|
|
- 'total-time': 'int', 'duplicate': 'int', 'normal': 'int',
|
|
|
- 'normal-bytes': 'int' } }
|
|
|
+ 'duplicate': 'int', 'normal': 'int', 'normal-bytes': 'int' } }
|
|
|
|
|
|
##
|
|
|
# @XBZRLECacheStats
|
|
@@ -350,12 +345,17 @@
|
|
|
# migration statistics, only returned if XBZRLE feature is on and
|
|
|
# status is 'active' or 'completed' (since 1.2)
|
|
|
#
|
|
|
+# @total-time: #optional total amount of milliseconds since migration started.
|
|
|
+# If migration has ended, it returns the total migration
|
|
|
+# time. (since 1.2)
|
|
|
+#
|
|
|
# Since: 0.14.0
|
|
|
##
|
|
|
{ 'type': 'MigrationInfo',
|
|
|
'data': {'*status': 'str', '*ram': 'MigrationStats',
|
|
|
'*disk': 'MigrationStats',
|
|
|
- '*xbzrle-cache': 'XBZRLECacheStats'} }
|
|
|
+ '*xbzrle-cache': 'XBZRLECacheStats',
|
|
|
+ '*total-time': 'int'} }
|
|
|
|
|
|
##
|
|
|
# @query-migrate
|