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>
This commit is contained in:
parent
148b1ad83c
commit
dc2836c380
@ -14,10 +14,8 @@
|
|||||||
#include "qemu/error-report.h"
|
#include "qemu/error-report.h"
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "cpu.h"
|
|
||||||
#include "exec/ramblock.h"
|
#include "exec/ramblock.h"
|
||||||
#include "exec/target_page.h"
|
#include "exec/target_page.h"
|
||||||
#include "exec/ram_addr.h"
|
|
||||||
#include "qemu/rcu_queue.h"
|
#include "qemu/rcu_queue.h"
|
||||||
#include "qemu/main-loop.h"
|
#include "qemu/main-loop.h"
|
||||||
#include "qapi/qapi-commands-migration.h"
|
#include "qapi/qapi-commands-migration.h"
|
||||||
|
@ -13,6 +13,7 @@ softmmu_ss.add(files(
|
|||||||
'block-dirty-bitmap.c',
|
'block-dirty-bitmap.c',
|
||||||
'channel.c',
|
'channel.c',
|
||||||
'channel-block.c',
|
'channel-block.c',
|
||||||
|
'dirtyrate.c',
|
||||||
'exec.c',
|
'exec.c',
|
||||||
'fd.c',
|
'fd.c',
|
||||||
'global_state.c',
|
'global_state.c',
|
||||||
@ -42,6 +43,5 @@ endif
|
|||||||
softmmu_ss.add(when: zstd, if_true: files('multifd-zstd.c'))
|
softmmu_ss.add(when: zstd, if_true: files('multifd-zstd.c'))
|
||||||
|
|
||||||
specific_ss.add(when: 'CONFIG_SOFTMMU',
|
specific_ss.add(when: 'CONFIG_SOFTMMU',
|
||||||
if_true: files('dirtyrate.c',
|
if_true: files('ram.c',
|
||||||
'ram.c',
|
|
||||||
'target.c'))
|
'target.c'))
|
||||||
|
Loading…
Reference in New Issue
Block a user