diff options
| author | Chao Fan | 2017-03-21 03:22:43 +0100 |
|---|---|---|
| committer | Juan Quintela | 2017-04-21 12:25:39 +0200 |
| commit | 030ce1f8612215fcbe9d353dfeaeb2937f8e3f94 (patch) | |
| tree | 32afaab27e259d05f030345d1bddf9f98cbb2da9 /qapi-schema.json | |
| parent | ram: Rename qemu_target_page_bits() to qemu_target_page_size() (diff) | |
| download | qemu-030ce1f8612215fcbe9d353dfeaeb2937f8e3f94.tar.gz qemu-030ce1f8612215fcbe9d353dfeaeb2937f8e3f94.tar.xz qemu-030ce1f8612215fcbe9d353dfeaeb2937f8e3f94.zip | |
ram: Add page-size to output in 'info migrate'
The number of dirty pages is output in 'pages' in the command
'info migrate', so add page-size to calculate the number of dirty
pages in bytes.
Signed-off-by: Chao Fan <fanc.fnst@cn.fujitsu.com>
Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'qapi-schema.json')
| -rw-r--r-- | qapi-schema.json | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qapi-schema.json b/qapi-schema.json index 250e4dc49b..01b087fa16 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -598,6 +598,9 @@ # @postcopy-requests: The number of page requests received from the destination # (since 2.7) # +# @page-size: The number of bytes per page for the various page-based +# statistics (since 2.10) +# # Since: 0.14.0 ## { 'struct': 'MigrationStats', @@ -605,7 +608,7 @@ 'duplicate': 'int', 'skipped': 'int', 'normal': 'int', 'normal-bytes': 'int', 'dirty-pages-rate' : 'int', 'mbps' : 'number', 'dirty-sync-count' : 'int', - 'postcopy-requests' : 'int' } } + 'postcopy-requests' : 'int', 'page-size' : 'int' } } ## # @XBZRLECacheStats: |
