[PATCH 2/3] migration: rename target.c to vfio.c

Pierrick Bouvier posted 3 patches 2 months, 3 weeks ago
Maintainers: Peter Xu <peterx@redhat.com>, Fabiano Rosas <farosas@suse.de>
There is a newer version of this series
[PATCH 2/3] migration: rename target.c to vfio.c
Posted by Pierrick Bouvier 2 months, 3 weeks ago
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
 migration/{target.c => vfio.c} | 2 +-
 migration/meson.build          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
 rename migration/{target.c => vfio.c} (90%)

diff --git a/migration/target.c b/migration/vfio.c
similarity index 90%
rename from migration/target.c
rename to migration/vfio.c
index 12fd399f0c5..0b64e49ef06 100644
--- a/migration/target.c
+++ b/migration/vfio.c
@@ -1,5 +1,5 @@
 /*
- * QEMU live migration - functions that need to be compiled target-specific
+ * QEMU live migration - VFIO
  *
  * This work is licensed under the terms of the GNU GPL, version 2
  * or (at your option) any later version.
diff --git a/migration/meson.build b/migration/meson.build
index 36fb950b3b1..45e9445f97d 100644
--- a/migration/meson.build
+++ b/migration/meson.build
@@ -51,4 +51,4 @@ system_ss.add(when: uadk, if_true: files('multifd-uadk.c'))
 system_ss.add(when: qatzip, if_true: files('multifd-qatzip.c'))
 
 specific_ss.add(when: 'CONFIG_SYSTEM_ONLY',
-                if_true: files('target.c'))
+                if_true: files('vfio.c'))
-- 
2.47.2
Re: [PATCH 2/3] migration: rename target.c to vfio.c
Posted by Richard Henderson 2 months, 3 weeks ago
On 7/25/25 10:17, Pierrick Bouvier wrote:
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
> ---
>   migration/{target.c => vfio.c} | 2 +-
>   migration/meson.build          | 2 +-
>   2 files changed, 2 insertions(+), 2 deletions(-)
>   rename migration/{target.c => vfio.c} (90%)
> 
> diff --git a/migration/target.c b/migration/vfio.c
> similarity index 90%
> rename from migration/target.c
> rename to migration/vfio.c
> index 12fd399f0c5..0b64e49ef06 100644
> --- a/migration/target.c
> +++ b/migration/vfio.c
> @@ -1,5 +1,5 @@
>   /*
> - * QEMU live migration - functions that need to be compiled target-specific
> + * QEMU live migration - VFIO
>    *
>    * This work is licensed under the terms of the GNU GPL, version 2
>    * or (at your option) any later version.
> diff --git a/migration/meson.build b/migration/meson.build
> index 36fb950b3b1..45e9445f97d 100644
> --- a/migration/meson.build
> +++ b/migration/meson.build
> @@ -51,4 +51,4 @@ system_ss.add(when: uadk, if_true: files('multifd-uadk.c'))
>   system_ss.add(when: qatzip, if_true: files('multifd-qatzip.c'))
>   
>   specific_ss.add(when: 'CONFIG_SYSTEM_ONLY',
> -                if_true: files('target.c'))
> +                if_true: files('vfio.c'))

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~