diff options
author | Fabiano Rosas <farosas@suse.de> | 2024-04-30 11:27:32 -0300 |
---|---|---|
committer | Fabiano Rosas <farosas@suse.de> | 2024-05-08 09:20:58 -0300 |
commit | f7b1cd3c2ebbc102b8edfacd5c5cd10c04dc887d (patch) | |
tree | f6f8f76a1b4a1d26db691cc2157b29538baff143 /migration | |
parent | dbea1c89dad37a6ab96befd017d33edaa50ded0a (diff) | |
download | qemu-f7b1cd3c2ebbc102b8edfacd5c5cd10c04dc887d.zip qemu-f7b1cd3c2ebbc102b8edfacd5c5cd10c04dc887d.tar.gz qemu-f7b1cd3c2ebbc102b8edfacd5c5cd10c04dc887d.tar.bz2 |
migration: Remove 'skipped' field from MigrationStats
The 'skipped' field of the MigrationStats struct has been deprecated
in 8.1. Time to remove it.
Deprecation commit 7b24d32634 ("migration: skipped field is really
obsolete.").
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'migration')
-rw-r--r-- | migration/migration-hmp-cmds.c | 2 | ||||
-rw-r--r-- | migration/migration.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/migration/migration-hmp-cmds.c b/migration/migration-hmp-cmds.c index 23181bb..b6b2035 100644 --- a/migration/migration-hmp-cmds.c +++ b/migration/migration-hmp-cmds.c @@ -105,8 +105,6 @@ void hmp_info_migrate(Monitor *mon, const QDict *qdict) info->ram->total >> 10); monitor_printf(mon, "duplicate: %" PRIu64 " pages\n", info->ram->duplicate); - monitor_printf(mon, "skipped: %" PRIu64 " pages\n", - info->ram->skipped); monitor_printf(mon, "normal: %" PRIu64 " pages\n", info->ram->normal); monitor_printf(mon, "normal bytes: %" PRIu64 " kbytes\n", diff --git a/migration/migration.c b/migration/migration.c index 289afa8..a4be929 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -1156,8 +1156,6 @@ static void populate_ram_info(MigrationInfo *info, MigrationState *s) info->ram->transferred = migration_transferred_bytes(); info->ram->total = ram_bytes_total(); info->ram->duplicate = stat64_get(&mig_stats.zero_pages); - /* legacy value. It is not used anymore */ - info->ram->skipped = 0; info->ram->normal = stat64_get(&mig_stats.normal_pages); info->ram->normal_bytes = info->ram->normal * page_size; info->ram->mbps = s->mbps; |