mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-08 16:07:39 -06:00
migration: Add migration prefix to functions in target.c
The functions in target.c are not static, yet they don't have a proper migration prefix. Add such prefix. 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>
This commit is contained in:
parent
5c7a4b6035
commit
38c482b477
4 changed files with 10 additions and 10 deletions
|
@ -15,7 +15,7 @@
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_VFIO
|
||||
void populate_vfio_info(MigrationInfo *info)
|
||||
void migration_populate_vfio_info(MigrationInfo *info)
|
||||
{
|
||||
if (vfio_mig_active()) {
|
||||
info->vfio = g_malloc0(sizeof(*info->vfio));
|
||||
|
@ -23,16 +23,16 @@ void populate_vfio_info(MigrationInfo *info)
|
|||
}
|
||||
}
|
||||
|
||||
void reset_vfio_bytes_transferred(void)
|
||||
void migration_reset_vfio_bytes_transferred(void)
|
||||
{
|
||||
vfio_reset_bytes_transferred();
|
||||
}
|
||||
#else
|
||||
void populate_vfio_info(MigrationInfo *info)
|
||||
void migration_populate_vfio_info(MigrationInfo *info)
|
||||
{
|
||||
}
|
||||
|
||||
void reset_vfio_bytes_transferred(void)
|
||||
void migration_reset_vfio_bytes_transferred(void)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue