xref: /qemu/migration/meson.build (revision ab930e80)
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  'exec.c',
17  'fd.c',
18  'global_state.c',
19  'migration-hmp-cmds.c',
20  'migration-stats.c',
21  'migration.c',
22  'multifd.c',
23  'multifd-zlib.c',
24  'multifd-zlib.c',
25  'ram-compress.c',
26  'options.c',
27  'postcopy-ram.c',
28  'savevm.c',
29  'socket.c',
30  'tls.c',
31  'threadinfo.c',
32), gnutls)
33
34if get_option('replication').allowed()
35  softmmu_ss.add(files('colo-failover.c', 'colo.c'))
36endif
37
38softmmu_ss.add(when: rdma, if_true: files('rdma.c'))
39if get_option('live_block_migration').allowed()
40  softmmu_ss.add(files('block.c'))
41endif
42softmmu_ss.add(when: zstd, if_true: files('multifd-zstd.c'))
43
44specific_ss.add(when: 'CONFIG_SOFTMMU',
45                if_true: files('dirtyrate.c',
46                               'ram.c',
47                               'target.c'))
48