diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2023-03-07 09:53:46 -0700 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2023-03-07 11:19:07 -0700 |
commit | 8249cffc626d0661d6c109aa0653cd9bb67cd676 (patch) | |
tree | e2b02cb851986b0d4385c519f9a23f7241b4beca /hw/vfio/common.c | |
parent | 333f988d19878f6b96388a1a797c4e90e7ea0a69 (diff) |
vfio/migration: Rename entry points
Pick names that align with the section drivers should use them from,
avoiding the confusion of calling a _finalize() function from _exit()
and generalizing the actual _finalize() to handle removing the viommu
blocker.
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Joao Martins <joao.m.martins@oracle.com>
Link: https://lore.kernel.org/r/167820912978.606734.12740287349119694623.stgit@omen
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/vfio/common.c')
-rw-r--r-- | hw/vfio/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio/common.c b/hw/vfio/common.c index 539246e332..4d01ea3515 100644 --- a/hw/vfio/common.c +++ b/hw/vfio/common.c @@ -447,7 +447,7 @@ int vfio_block_giommu_migration(Error **errp) return ret; } -void vfio_unblock_giommu_migration(void) +void vfio_migration_finalize(void) { if (!giommu_migration_blocker || vfio_viommu_preset()) { |