]> git.proxmox.com Git - mirror_qemu.git/blob - migration/meson.build
9975407cd030d806f8a467d07d06ce04f7625138
[mirror_qemu.git] / migration / meson.build
1 # Files needed by unit tests
2 migration_files = files(
3 'migration-stats.c',
4 'page_cache.c',
5 'xbzrle.c',
6 'vmstate-types.c',
7 'vmstate.c',
8 'qemu-file.c',
9 'yank_functions.c',
10 )
11
12 softmmu_ss.add(files(
13 'block-dirty-bitmap.c',
14 'channel.c',
15 'channel-block.c',
16 'dirtyrate.c',
17 'exec.c',
18 'fd.c',
19 'global_state.c',
20 'migration-hmp-cmds.c',
21 'migration.c',
22 'multifd.c',
23 'multifd-zlib.c',
24 'ram-compress.c',
25 'options.c',
26 'postcopy-ram.c',
27 'savevm.c',
28 'socket.c',
29 'tls.c',
30 'threadinfo.c',
31 ), gnutls)
32
33 if get_option('replication').allowed()
34 softmmu_ss.add(files('colo-failover.c', 'colo.c'))
35 endif
36
37 softmmu_ss.add(when: rdma, if_true: files('rdma.c'))
38 if get_option('live_block_migration').allowed()
39 softmmu_ss.add(files('block.c'))
40 endif
41 softmmu_ss.add(when: zstd, if_true: files('multifd-zstd.c'))
42
43 specific_ss.add(when: 'CONFIG_SYSTEM_ONLY',
44 if_true: files('ram.c',
45 'target.c'))