mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
ram: Remove unused pages_skipped variable
For compatibility, we need to still send a value, but just specify it and comment the fact. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Peter Xu <peterx@redhat.com>
This commit is contained in:
parent
5bb1272c38
commit
bedf53c14c
3 changed files with 2 additions and 14 deletions
|
@ -651,7 +651,8 @@ static void populate_ram_info(MigrationInfo *info, MigrationState *s)
|
|||
info->ram->transferred = ram_bytes_transferred();
|
||||
info->ram->total = ram_bytes_total();
|
||||
info->ram->duplicate = dup_mig_pages_transferred();
|
||||
info->ram->skipped = skipped_mig_pages_transferred();
|
||||
/* legacy value. It is not used anymore */
|
||||
info->ram->skipped = 0;
|
||||
info->ram->normal = norm_mig_pages_transferred();
|
||||
info->ram->normal_bytes = norm_mig_bytes_transferred();
|
||||
info->ram->mbps = s->mbps;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue