util: Extract flush_icache_range to cacheflush.c
[qemu/ar7.git] / migration / meson.build
blob291adc1337ac31fd215202fd4c54468bdeedf0cf
1 # Files needed by unit tests
2 migration_files = files(
3   'page_cache.c',
4   'xbzrle.c',
5   'vmstate-types.c',
6   'vmstate.c',
7   'qemu-file-channel.c',
8   'qemu-file.c',
10 softmmu_ss.add(migration_files)
12 softmmu_ss.add(files(
13   'block-dirty-bitmap.c',
14   'channel.c',
15   'colo-failover.c',
16   'colo.c',
17   'exec.c',
18   'fd.c',
19   'global_state.c',
20   'migration.c',
21   'multifd.c',
22   'multifd-zlib.c',
23   'postcopy-ram.c',
24   'savevm.c',
25   'socket.c',
26   'tls.c',
29 softmmu_ss.add(when: ['CONFIG_RDMA', rdma], if_true: files('rdma.c'))
30 softmmu_ss.add(when: 'CONFIG_LIVE_BLOCK_MIGRATION', if_true: files('block.c'))
31 softmmu_ss.add(when: 'CONFIG_ZSTD', if_true: [files('multifd-zstd.c'), zstd])
33 specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: files('dirtyrate.c', 'ram.c'))