diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2016-06-13 12:16:42 +0100 |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2016-06-16 09:50:07 +0530 |
commit | d3bf5418e2c5cf0e911b51b7041caddae5e8b38a (patch) | |
tree | 17c4f7eac546bb587d1490cf38b3913539a00762 /hmp.c | |
parent | a22463a5dca6c1e3fbb474e758af7d864de61690 (diff) | |
download | qemu-d3bf5418e2c5cf0e911b51b7041caddae5e8b38a.tar.gz qemu-d3bf5418e2c5cf0e911b51b7041caddae5e8b38a.tar.bz2 qemu-d3bf5418e2c5cf0e911b51b7041caddae5e8b38a.zip |
Postcopy: Add stats on page requests
On the source, add a count of page requests received from the
destination.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Denis V. Lunev <den@openvz.org>
Message-id: 1465816605-29488-4-git-send-email-dgilbert@redhat.com
Message-Id: <1465816605-29488-4-git-send-email-dgilbert@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'hmp.c')
-rw-r--r-- | hmp.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -217,6 +217,10 @@ void hmp_info_migrate(Monitor *mon, const QDict *qdict) monitor_printf(mon, "dirty pages rate: %" PRIu64 " pages\n", info->ram->dirty_pages_rate); } + if (info->ram->postcopy_requests) { + monitor_printf(mon, "postcopy request count: %" PRIu64 "\n", + info->ram->postcopy_requests); + } } if (info->has_disk) { |