diff options
author | 2023-09-06 18:08:50 +0300 | |
---|---|---|
committer | 2023-09-11 08:34:06 +0200 | |
commit | f543aa222da183ac37424d1ea3a65e5fb6202732 (patch) | |
tree | dabaaaf2c56e1cc296967897687a68c9e65c420b /scripts/qapi/source.py | |
parent | vfio/migration: Fail adding device with enable-migration=on and existing blocker (diff) | |
download | qemu-f543aa222da183ac37424d1ea3a65e5fb6202732.tar.xz qemu-f543aa222da183ac37424d1ea3a65e5fb6202732.zip |
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/qapi/source.py')
0 files changed, 0 insertions, 0 deletions