Add XBZRLE statistics
Signed-off-by: Benoit Hudzia <benoit.hudzia@sap.com> Signed-off-by: Petter Svard <petters@cs.umu.se> Signed-off-by: Aidan Shribman <aidan.shribman@sap.com> Signed-off-by: Orit Wasserman <owasserm@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
004d4c10ae
commit
f36d55af74
6 changed files with 122 additions and 2 deletions
|
|
@ -277,6 +277,27 @@
|
|||
'total-time': 'int', 'duplicate': 'int', 'normal': 'int',
|
||||
'normal-bytes': 'int' } }
|
||||
|
||||
##
|
||||
# @XBZRLECacheStats
|
||||
#
|
||||
# Detailed XBZRLE migration cache statistics
|
||||
#
|
||||
# @cache-size: XBZRLE cache size
|
||||
#
|
||||
# @bytes: amount of bytes already transferred to the target VM
|
||||
#
|
||||
# @pages: amount of pages transferred to the target VM
|
||||
#
|
||||
# @cache-miss: number of cache miss
|
||||
#
|
||||
# @overflow: number of overflows
|
||||
#
|
||||
# Since: 1.2
|
||||
##
|
||||
{ 'type': 'XBZRLECacheStats',
|
||||
'data': {'cache-size': 'int', 'bytes': 'int', 'pages': 'int',
|
||||
'cache-miss': 'int', 'overflow': 'int' } }
|
||||
|
||||
##
|
||||
# @MigrationInfo
|
||||
#
|
||||
|
|
@ -295,11 +316,16 @@
|
|||
# status, only returned if status is 'active' and it is a block
|
||||
# migration
|
||||
#
|
||||
# @xbzrle-cache: #optional @XBZRLECacheStats containing detailed XBZRLE
|
||||
# migration statistics, only returned if XBZRLE feature is on and
|
||||
# status is 'active' or 'completed' (since 1.2)
|
||||
#
|
||||
# Since: 0.14.0
|
||||
##
|
||||
{ 'type': 'MigrationInfo',
|
||||
'data': {'*status': 'str', '*ram': 'MigrationStats',
|
||||
'*disk': 'MigrationStats'} }
|
||||
'*disk': 'MigrationStats',
|
||||
'*xbzrle-cache': 'XBZRLECacheStats'} }
|
||||
|
||||
##
|
||||
# @query-migrate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue