diff options
author | Leonardo Bras | 2022-07-11 23:11:12 +0200 |
---|---|---|
committer | Dr. David Alan Gilbert | 2022-07-20 13:15:09 +0200 |
commit | cf20c897338067ab4b70a4596fdccaf90c7e29a1 (patch) | |
tree | 07a3b8f0b81b8e11f9d47bfb73c4e3b1d97c9379 /monitor | |
parent | QIOChannelSocket: Fix zero-copy flush returning code 1 when nothing sent (diff) | |
download | qemu-cf20c897338067ab4b70a4596fdccaf90c7e29a1.tar.gz qemu-cf20c897338067ab4b70a4596fdccaf90c7e29a1.tar.xz qemu-cf20c897338067ab4b70a4596fdccaf90c7e29a1.zip |
Add dirty-sync-missed-zero-copy migration stat
Signed-off-by: Leonardo Bras <leobras@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220711211112.18951-3-leobras@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'monitor')
-rw-r--r-- | monitor/hmp-cmds.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/monitor/hmp-cmds.c b/monitor/hmp-cmds.c index ca98df0495..a6dc79e0d5 100644 --- a/monitor/hmp-cmds.c +++ b/monitor/hmp-cmds.c @@ -307,6 +307,11 @@ void hmp_info_migrate(Monitor *mon, const QDict *qdict) monitor_printf(mon, "postcopy ram: %" PRIu64 " kbytes\n", info->ram->postcopy_bytes >> 10); } + if (info->ram->dirty_sync_missed_zero_copy) { + monitor_printf(mon, + "Zero-copy-send fallbacks happened: %" PRIu64 " times\n", + info->ram->dirty_sync_missed_zero_copy); + } } if (info->has_disk) { |