hw: megasas: consider 'iov_count=0' is an error in megasas_map_sgl
[qemu/ar7.git] / migration / meson.build
blobb5b71c8060becfcd4745b28041820b93187301b5
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',
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)
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',
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])
40 specific_ss.add(when: 'CONFIG_SOFTMMU', if_true: files('dirtyrate.c', 'ram.c'))