Merge tag 'v9.1.0'
[qemu/ar7.git] / migration / meson.build
blob5ce2acb41e5450d3d582aee6a35c0cc948a1df05
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',
12 system_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   'file.c',
20   'global_state.c',
21   'migration-hmp-cmds.c',
22   'migration.c',
23   'multifd.c',
24   'multifd-zlib.c',
25   'multifd-zero-page.c',
26   'options.c',
27   'postcopy-ram.c',
28   'savevm.c',
29   'socket.c',
30   'tls.c',
31   'threadinfo.c',
32 ), gnutls, zlib)
34 if get_option('replication').allowed()
35   system_ss.add(files('colo-failover.c', 'colo.c'))
36 else
37   system_ss.add(files('colo-stubs.c'))
38 endif
40 system_ss.add(when: rdma, if_true: files('rdma.c'))
41 system_ss.add(when: zstd, if_true: files('multifd-zstd.c'))
42 system_ss.add(when: qpl, if_true: files('multifd-qpl.c'))
43 system_ss.add(when: uadk, if_true: files('multifd-uadk.c'))
45 specific_ss.add(when: 'CONFIG_SYSTEM_ONLY',
46                 if_true: files('ram.c',
47                                'target.c'))