]> git.proxmox.com Git - mirror_qemu.git/blob - migration/meson.build
memory: Explicitly tag doc comments for structs
[mirror_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-channel.c',
8 'qemu-file.c',
9 'qjson.c',
10 )
11
12 libmigration = static_library('migration', sources: migration_files + genh,
13 name_suffix: 'fa',
14 build_by_default: false)
15 migration = declare_dependency(link_with: libmigration,
16 dependencies: [zlib, qom, io])
17 softmmu_ss.add(migration)
18
19 softmmu_ss.add(files(
20 'block-dirty-bitmap.c',
21 'channel.c',
22 'colo-failover.c',
23 'colo.c',
24 'exec.c',
25 'fd.c',
26 'global_state.c',
27 'migration.c',
28 'multifd.c',
29 'multifd-zlib.c',
30 'postcopy-ram.c',
31 'savevm.c',
32 'socket.c',
33 'tls.c',
34 ))
35
36 softmmu_ss.add(when: ['CONFIG_RDMA', rdma], if_true: files('rdma.c'))
37 softmmu_ss.add(when: 'CONFIG_LIVE_BLOCK_MIGRATION', if_true: files('block.c'))
38 softmmu_ss.add(when: 'CONFIG_ZSTD', if_true: [files('multifd-zstd.c'), zstd])
39
40 specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: files('dirtyrate.c', 'ram.c'))