]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
migration: Make dirtyrate.c target independent
authorJuan Quintela <quintela@redhat.com>
Thu, 11 May 2023 14:12:08 +0000 (16:12 +0200)
committerJuan Quintela <quintela@redhat.com>
Mon, 15 May 2023 08:33:05 +0000 (10:33 +0200)
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>

migration/dirtyrate.c
migration/meson.build

index f32a690a561848c7a354b2134fd9805959fcb690..c06f12c39dedf4fd5a629ca7112ac7aafe70de08 100644 (file)
 #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"
index eb41b77db921014f49f7a23e07e61890750c2ea9..dc8b1daef53b580040cda79ef24f6eb7752f89ac 100644 (file)
@@ -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'))