[PATCH 8/9] migration: Build migration_files once

Richard Henderson posted 9 patches 2 years, 8 months ago
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, "Marc-André Lureau" <marcandre.lureau@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Thomas Huth <thuth@redhat.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Juan Quintela <quintela@redhat.com>, Peter Xu <peterx@redhat.com>, Leonardo Bras <leobras@redhat.com>, Richard Henderson <richard.henderson@linaro.org>
[PATCH 8/9] migration: Build migration_files once
Posted by Richard Henderson 2 years, 8 months ago
The items in migration_files are built for libmigration and included
info softmmu_ss from there; no need to also include them directly.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
Cc: Juan Quintela <quintela@redhat.com> 
Cc: Peter Xu <peterx@redhat.com> 
Cc: Leonardo Bras <leobras@redhat.com> 
---
 migration/meson.build | 1 -
 1 file changed, 1 deletion(-)

diff --git a/migration/meson.build b/migration/meson.build
index dc8b1daef5..21ac014496 100644
--- a/migration/meson.build
+++ b/migration/meson.build
@@ -7,7 +7,6 @@ migration_files = files(
   'qemu-file.c',
   'yank_functions.c',
 )
-softmmu_ss.add(migration_files)
 
 softmmu_ss.add(files(
   'block-dirty-bitmap.c',
-- 
2.34.1
Re: [PATCH 8/9] migration: Build migration_files once
Posted by Juan Quintela 2 years, 8 months ago
Richard Henderson <richard.henderson@linaro.org> wrote:
> The items in migration_files are built for libmigration and included
> info softmmu_ss from there; no need to also include them directly.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>

Ouch.

Good catch.

Reviewed-by: Juan Quintela <quintela@redhat.com>

queued.