[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 00/10] COLO: improve build options
From: |
Vladimir Sementsov-Ogievskiy |
Subject: |
[PATCH v4 00/10] COLO: improve build options |
Date: |
Fri, 28 Apr 2023 22:49:18 +0300 |
v4:
01: add r-b by Lukas
02: new
03: - keep x-colo capability enum value unconditional
- drop ifdefs in options.c and keep capability check instead
- update stubs
- add missed a-b by Dr. David
04: keep filter-mirror untouched, add r-b by Juan
others: new. Some further improvements of COLO module API. May be merged
separately.
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.
Vladimir Sementsov-Ogievskiy (10):
block/meson.build: prefer positive condition for replication
colo: make colo_checkpoint_notify static and provide simpler API
build: move COLO under CONFIG_REPLICATION
configure: add --disable-colo-proxy option
migration: drop colo_incoming_thread from MigrationIncomingState
migration: process_incoming_migration_co: simplify code flow around
ret
migration: split migration_incoming_co
migration: process_incoming_migration_co(): move colo part to colo
migration: disallow change capabilities in COLO state
migration: block incoming colo when capability is disabled
block/meson.build | 2 +-
hmp-commands.hx | 2 +
include/migration/colo.h | 18 +++++-
meson_options.txt | 2 +
migration/colo.c | 100 +++++++++++++++++++--------------
migration/meson.build | 6 +-
migration/migration-hmp-cmds.c | 2 +
migration/migration.c | 51 +++++++----------
migration/migration.h | 11 +++-
migration/options.c | 6 +-
net/meson.build | 13 ++++-
qapi/migration.json | 9 ++-
scripts/meson-buildoptions.sh | 3 +
stubs/colo-compare.c | 7 +++
stubs/colo.c | 37 ++++++++++++
stubs/meson.build | 2 +
16 files changed, 181 insertions(+), 90 deletions(-)
create mode 100644 stubs/colo-compare.c
create mode 100644 stubs/colo.c
--
2.34.1
- [PATCH v4 00/10] COLO: improve build options,
Vladimir Sementsov-Ogievskiy <=
- [PATCH v4 02/10] colo: make colo_checkpoint_notify static and provide simpler API, Vladimir Sementsov-Ogievskiy, 2023/04/28
- [PATCH v4 05/10] migration: drop colo_incoming_thread from MigrationIncomingState, Vladimir Sementsov-Ogievskiy, 2023/04/28
- [PATCH v4 03/10] build: move COLO under CONFIG_REPLICATION, Vladimir Sementsov-Ogievskiy, 2023/04/28
- [PATCH v4 07/10] migration: split migration_incoming_co, Vladimir Sementsov-Ogievskiy, 2023/04/28
- [PATCH v4 04/10] configure: add --disable-colo-proxy option, Vladimir Sementsov-Ogievskiy, 2023/04/28
- [PATCH v4 08/10] migration: process_incoming_migration_co(): move colo part to colo, Vladimir Sementsov-Ogievskiy, 2023/04/28
- [PATCH v4 09/10] migration: disallow change capabilities in COLO state, Vladimir Sementsov-Ogievskiy, 2023/04/28
- [PATCH v4 10/10] migration: block incoming colo when capability is disabled, Vladimir Sementsov-Ogievskiy, 2023/04/28
- [PATCH v4 06/10] migration: process_incoming_migration_co: simplify code flow around ret, Vladimir Sementsov-Ogievskiy, 2023/04/28
- [PATCH v4 01/10] block/meson.build: prefer positive condition for replication, Vladimir Sementsov-Ogievskiy, 2023/04/28