diff options
author | Avihai Horon <avihaih@nvidia.com> | 2023-02-16 16:36:25 +0200 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2023-02-16 12:13:46 -0700 |
commit | 16fe4e8ab7588896f67ffc8a1d0dc1b0c698b064 (patch) | |
tree | fa7562d56d6b3d94c19b6c6c82091aa64aa6a0e6 /include/hw/vfio/vfio-common.h | |
parent | 29d81b71aa2ac0f594d881460e22e291a9417a74 (diff) |
vfio/migration: Move migration v1 logic to vfio_migration_init()
Move vfio_dev_get_region_info() logic from vfio_migration_probe() to
vfio_migration_init(). This logic is specific to v1 protocol and moving
it will make it easier to add the v2 protocol implementation later.
No functional changes intended.
Signed-off-by: Avihai Horon <avihaih@nvidia.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Link: https://lore.kernel.org/r/20230216143630.25610-7-avihaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/hw/vfio/vfio-common.h')
0 files changed, 0 insertions, 0 deletions