diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> | 2023-05-15 16:06:38 +0300 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2023-05-18 18:40:50 +0200 |
commit | 6c1e3906ce0bb414478d9c2c698bcbb6d2d28c63 (patch) | |
tree | 221e9a95eeb759ea39e1796af01c420cdad36b8e /net | |
parent | 266ccbb27b3ec6661f22395ec2c41d854c94d761 (diff) | |
download | qemu-6c1e3906ce0bb414478d9c2c698bcbb6d2d28c63.zip qemu-6c1e3906ce0bb414478d9c2c698bcbb6d2d28c63.tar.gz qemu-6c1e3906ce0bb414478d9c2c698bcbb6d2d28c63.tar.bz2 |
configure: add --disable-colo-proxy option
Add option to not build filter-rewriter and colo-compare when
they are not needed.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Zhang Chen <chen.zhang@intel.com>
Message-Id: <20230515130640.46035-2-vsementsov@yandex-team.ru>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/meson.build | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/net/meson.build b/net/meson.build index 87afca3..6f4ecde 100644 --- a/net/meson.build +++ b/net/meson.build @@ -1,13 +1,10 @@ softmmu_ss.add(files( 'announce.c', 'checksum.c', - 'colo-compare.c', - 'colo.c', 'dump.c', 'eth.c', 'filter-buffer.c', 'filter-mirror.c', - 'filter-rewriter.c', 'filter.c', 'hub.c', 'net-hmp-cmds.c', @@ -19,6 +16,16 @@ softmmu_ss.add(files( 'util.c', )) +if get_option('replication').allowed() or \ + get_option('colo_proxy').allowed() + softmmu_ss.add(files('colo-compare.c')) + softmmu_ss.add(files('colo.c')) +endif + +if get_option('colo_proxy').allowed() + softmmu_ss.add(files('filter-rewriter.c')) +endif + softmmu_ss.add(when: 'CONFIG_TCG', if_true: files('filter-replay.c')) if have_l2tpv3 |