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 /migration | |
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 'migration')
-rw-r--r-- | migration/migration.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/migration/migration.c b/migration/migration.c index 7c7e529ca7..15ae48b209 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -1057,6 +1057,8 @@ static void populate_ram_info(MigrationInfo *info, MigrationState *s) info->ram->normal_bytes = ram_counters.normal * page_size; info->ram->mbps = s->mbps; info->ram->dirty_sync_count = ram_counters.dirty_sync_count; + info->ram->dirty_sync_missed_zero_copy = + ram_counters.dirty_sync_missed_zero_copy; info->ram->postcopy_requests = ram_counters.postcopy_requests; info->ram->page_size = page_size; info->ram->multifd_bytes = ram_counters.multifd_bytes; |