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 /hw/vfio/common.c | |
| parent | 8118349b1bc5c12e4017ddd7eb563fce752a5a9c (diff) | |
| download | focaccia-qemu-f543aa222da183ac37424d1ea3a65e5fb6202732.tar.gz focaccia-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 'hw/vfio/common.c')
0 files changed, 0 insertions, 0 deletions