Hi all! COLO substem seems to be useless when CONFIG_REPLICATION is unset, as we simply don't allow to set x-colo capability in this case. So, let's not compile in unreachable code and interface we cannot use when CONFIG_REPLICATION is unset.
Also, provide personal configure option for COLO Proxy subsystem. v1 was [PATCH] replication: compile out some staff when replication is not configured Supersedes: <20230411145112.497785-1-vsement...@yandex-team.ru> Vladimir Sementsov-Ogievskiy (4): block/meson.build: prefer positive condition for replication scripts/qapi: allow optional experimental enum values build: move COLO under CONFIG_REPLICATION configure: add --disable-colo-filters option block/meson.build | 2 +- hmp-commands.hx | 2 ++ meson.build | 1 + meson_options.txt | 2 ++ migration/colo.c | 6 +++++ migration/meson.build | 6 +++-- migration/migration-hmp-cmds.c | 2 ++ migration/migration.c | 19 +++----------- net/meson.build | 16 +++++++++--- qapi/migration.json | 12 ++++++--- scripts/meson-buildoptions.sh | 3 +++ scripts/qapi/types.py | 2 ++ stubs/colo.c | 47 ++++++++++++++++++++++++++++++++++ stubs/meson.build | 1 + 14 files changed, 95 insertions(+), 26 deletions(-) create mode 100644 stubs/colo.c -- 2.34.1