diff options
author | Juan Quintela <quintela@redhat.com> | 2023-05-11 16:12:08 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-05-15 10:33:05 +0200 |
commit | dc2836c3806f004f36d423cedba86103c87a21a3 (patch) | |
tree | 3f2667b3ddf3404d7407f053b0c6a7ebe39cfdcd /migration | |
parent | 148b1ad83ca5ea0b0456942d5f40d943a68b6102 (diff) | |
download | qemu-dc2836c3806f004f36d423cedba86103c87a21a3.zip qemu-dc2836c3806f004f36d423cedba86103c87a21a3.tar.gz qemu-dc2836c3806f004f36d423cedba86103c87a21a3.tar.bz2 |
migration: Make dirtyrate.c target independent
After the previous two patches, there is nothing else that is target
specific.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230511141208.17779-6-quintela@redhat.com>
Diffstat (limited to 'migration')
-rw-r--r-- | migration/dirtyrate.c | 2 | ||||
-rw-r--r-- | migration/meson.build | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/migration/dirtyrate.c b/migration/dirtyrate.c index f32a690..c06f12c 100644 --- a/migration/dirtyrate.c +++ b/migration/dirtyrate.c @@ -14,10 +14,8 @@ #include "qemu/error-report.h" #include <zlib.h> #include "qapi/error.h" -#include "cpu.h" #include "exec/ramblock.h" #include "exec/target_page.h" -#include "exec/ram_addr.h" #include "qemu/rcu_queue.h" #include "qemu/main-loop.h" #include "qapi/qapi-commands-migration.h" diff --git a/migration/meson.build b/migration/meson.build index eb41b77..dc8b1da 100644 --- a/migration/meson.build +++ b/migration/meson.build @@ -13,6 +13,7 @@ softmmu_ss.add(files( 'block-dirty-bitmap.c', 'channel.c', 'channel-block.c', + 'dirtyrate.c', 'exec.c', 'fd.c', 'global_state.c', @@ -42,6 +43,5 @@ endif softmmu_ss.add(when: zstd, if_true: files('multifd-zstd.c')) specific_ss.add(when: 'CONFIG_SOFTMMU', - if_true: files('dirtyrate.c', - 'ram.c', + if_true: files('ram.c', 'target.c')) |