OSDN Git Service

Merge tag 'pull-request-2023-04-28' of https://gitlab.com/thuth/qemu into staging
[qmiga/qemu.git] / migration / meson.build
1 # Files needed by unit tests
2 migration_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 )
10 softmmu_ss.add(migration_files)
11
12 softmmu_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-hmp-cmds.c',
22   'migration.c',
23   'multifd.c',
24   'multifd-zlib.c',
25   'options.c',
26   'postcopy-ram.c',
27   'savevm.c',
28   'socket.c',
29   'tls.c',
30   'threadinfo.c',
31 ), gnutls)
32
33 softmmu_ss.add(when: rdma, if_true: files('rdma.c'))
34 if get_option('live_block_migration').allowed()
35   softmmu_ss.add(files('block.c'))
36 endif
37 softmmu_ss.add(when: zstd, if_true: files('multifd-zstd.c'))
38
39 specific_ss.add(when: 'CONFIG_SOFTMMU',
40                 if_true: files('dirtyrate.c', 'ram.c', 'target.c'))