1# Files needed by unit tests 2migration_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', 10) 11 12system_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-zlib.c', 25 'multifd-zero-page.c', 26 'ram-compress.c', 27 'options.c', 28 'postcopy-ram.c', 29 'savevm.c', 30 'socket.c', 31 'tls.c', 32 'threadinfo.c', 33), gnutls) 34 35if get_option('replication').allowed() 36 system_ss.add(files('colo-failover.c', 'colo.c')) 37endif 38 39system_ss.add(when: rdma, if_true: files('rdma.c')) 40if get_option('live_block_migration').allowed() 41 system_ss.add(files('block.c')) 42endif 43system_ss.add(when: zstd, if_true: files('multifd-zstd.c')) 44 45specific_ss.add(when: 'CONFIG_SYSTEM_ONLY', 46 if_true: files('ram.c', 47 'target.c')) 48