diff options
author | David Edmondson <david.edmondson@oracle.com> | 2021-12-21 09:34:41 +0000 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2022-01-28 15:38:23 +0100 |
commit | ae6806688016711bb9ec7541266d76ab511c5e3b (patch) | |
tree | 5464c40cf9a9d65e72120a71e13f42e37acc0b28 /qapi | |
parent | 4c2d0f6dca24f3396ab0718ad3f9f53cc53004df (diff) | |
download | qemu-ae6806688016711bb9ec7541266d76ab511c5e3b.zip qemu-ae6806688016711bb9ec7541266d76ab511c5e3b.tar.gz qemu-ae6806688016711bb9ec7541266d76ab511c5e3b.tar.bz2 |
migration: Tally pre-copy, downtime and post-copy bytes independently
Provide information on the number of bytes copied in the pre-copy,
downtime and post-copy phases of migration.
Signed-off-by: David Edmondson <david.edmondson@oracle.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/migration.json | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/qapi/migration.json b/qapi/migration.json index bbfd48c..5975a0e 100644 --- a/qapi/migration.json +++ b/qapi/migration.json @@ -46,6 +46,15 @@ # @pages-per-second: the number of memory pages transferred per second # (Since 4.0) # +# @precopy-bytes: The number of bytes sent in the pre-copy phase +# (since 7.0). +# +# @downtime-bytes: The number of bytes sent while the guest is paused +# (since 7.0). +# +# @postcopy-bytes: The number of bytes sent during the post-copy phase +# (since 7.0). +# # Since: 0.14 ## { 'struct': 'MigrationStats', @@ -54,7 +63,9 @@ 'normal-bytes': 'int', 'dirty-pages-rate' : 'int', 'mbps' : 'number', 'dirty-sync-count' : 'int', 'postcopy-requests' : 'int', 'page-size' : 'int', - 'multifd-bytes' : 'uint64', 'pages-per-second' : 'uint64' } } + 'multifd-bytes' : 'uint64', 'pages-per-second' : 'uint64', + 'precopy-bytes' : 'uint64', 'downtime-bytes' : 'uint64', + 'postcopy-bytes' : 'uint64' } } ## # @XBZRLECacheStats: |