vfio/migration: Rename functions/structs related to v1 protocol
authorAvihai Horon <avihaih@nvidia.com>
Thu, 16 Feb 2023 14:36:26 +0000 (16:36 +0200)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 16 Feb 2023 19:13:46 +0000 (12:13 -0700)
commit6eeb2909104664af4c3488232f3c3cd8471c38c3
tree6fc3e9fd9cc7ccee0789633b54218ef979975f8a
parent16fe4e8ab7588896f67ffc8a1d0dc1b0c698b064
vfio/migration: Rename functions/structs related to v1 protocol

To avoid name collisions, rename functions and structs related to VFIO
migration protocol v1. This will allow the two protocols to co-exist
when v2 protocol is added, until v1 is removed. 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-8-avihaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/common.c
hw/vfio/migration.c
hw/vfio/trace-events
include/hw/vfio/vfio-common.h