Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / migration / meson.build
blob66d3de86f0852767d64f14939e0057bc2519dc4d
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-nocomp.c',
25   'multifd-zlib.c',
26   'multifd-zero-page.c',
27   'options.c',
28   'postcopy-ram.c',
29   'savevm.c',
30   'socket.c',
31   'tls.c',
32   'threadinfo.c',
33 ), gnutls, zlib)
35 if get_option('replication').allowed()
36   system_ss.add(files('colo-failover.c', 'colo.c'))
37 else
38   system_ss.add(files('colo-stubs.c'))
39 endif
41 system_ss.add(when: rdma, if_true: files('rdma.c'))
42 system_ss.add(when: zstd, if_true: files('multifd-zstd.c'))
43 system_ss.add(when: qpl, if_true: files('multifd-qpl.c'))
44 system_ss.add(when: uadk, if_true: files('multifd-uadk.c'))
45 system_ss.add(when: qatzip, if_true: files('multifd-qatzip.c'))
47 specific_ss.add(when: 'CONFIG_SYSTEM_ONLY',
48                 if_true: files('ram.c',
49                                'target.c'))