xref: /openbmc/qemu/migration/meson.build (revision 954a6c4f)
1# Files needed by unit tests
2migration_files = files(
3  'page_cache.c',
4  'xbzrle.c',
5  'vmstate-types.c',
6  'vmstate.c',
7  'qemu-file.c',
8  'yank_functions.c',
9)
10softmmu_ss.add(migration_files)
11
12softmmu_ss.add(files(
13  'block-dirty-bitmap.c',
14  'channel.c',
15  'channel-block.c',
16  'colo-failover.c',
17  'colo.c',
18  'exec.c',
19  'fd.c',
20  'global_state.c',
21  'migration.c',
22  'multifd.c',
23  'multifd-zlib.c',
24  'postcopy-ram.c',
25  'savevm.c',
26  'socket.c',
27  'tls.c',
28), gnutls)
29
30softmmu_ss.add(when: rdma, if_true: files('rdma.c'))
31if get_option('live_block_migration').allowed()
32  softmmu_ss.add(files('block.c'))
33endif
34softmmu_ss.add(when: zstd, if_true: files('multifd-zstd.c'))
35
36specific_ss.add(when: 'CONFIG_SOFTMMU',
37                if_true: files('dirtyrate.c', 'ram.c', 'target.c'))
38