configure: Compile with -Wimplicit-fallthrough=2
[qemu/ar7.git] / migration / meson.build
blob980e37865c1a29b6400ccbac8810bb3a8ee83bfe
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',
11 softmmu_ss.add(migration_files)
13 softmmu_ss.add(files(
14   'block-dirty-bitmap.c',
15   'channel.c',
16   'colo-failover.c',
17   'colo.c',
18   'exec.c',
19   'fd.c',
20   'global_state.c',
21   'migration.c',
22   'multifd.c',
23   'multifd-zlib.c',
24   'postcopy-ram.c',
25   'savevm.c',
26   'socket.c',
27   'tls.c',
30 softmmu_ss.add(when: ['CONFIG_RDMA', rdma], if_true: files('rdma.c'))
31 softmmu_ss.add(when: 'CONFIG_LIVE_BLOCK_MIGRATION', if_true: files('block.c'))
32 softmmu_ss.add(when: 'CONFIG_ZSTD', if_true: [files('multifd-zstd.c'), zstd])
34 specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: files('dirtyrate.c', 'ram.c'))