diff options
author | Avihai Horon <avihaih@nvidia.com> | 2023-09-06 18:08:50 +0300 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2023-09-11 08:34:06 +0200 |
commit | f543aa222da183ac37424d1ea3a65e5fb6202732 (patch) | |
tree | dabaaaf2c56e1cc296967897687a68c9e65c420b /scripts/u2f-setup-gen.py | |
parent | 8118349b1bc5c12e4017ddd7eb563fce752a5a9c (diff) | |
download | qemu-f543aa222da183ac37424d1ea3a65e5fb6202732.zip qemu-f543aa222da183ac37424d1ea3a65e5fb6202732.tar.gz qemu-f543aa222da183ac37424d1ea3a65e5fb6202732.tar.bz2 |
migration: Move more initializations to migrate_init()
Initialization of mig_stats, compression_counters and VFIO bytes
transferred is hard-coded in migration code path and snapshot code path.
Make the code cleaner by initializing them in migrate_init().
Suggested-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Avihai Horon <avihaih@nvidia.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'scripts/u2f-setup-gen.py')
0 files changed, 0 insertions, 0 deletions