qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] COLO: improve build options
@ 2023-04-19 22:52 Vladimir Sementsov-Ogievskiy
  2023-04-19 22:52 ` [PATCH v2 1/4] block/meson.build: prefer positive condition for replication Vladimir Sementsov-Ogievskiy
                   ` (4 more replies)
  0 siblings, 5 replies; 27+ messages in thread
From: Vladimir Sementsov-Ogievskiy @ 2023-04-19 22:52 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-block, michael.roth, armbru, eblake, jasowang, quintela,
	zhanghailiang, philmd, thuth, berrange, marcandre.lureau,
	pbonzini, dave, hreitz, kwolf, chen.zhang, lizhijian,
	Vladimir Sementsov-Ogievskiy

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-vsementsov@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



^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2023-04-28  6:53 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-19 22:52 [PATCH v2 0/4] COLO: improve build options Vladimir Sementsov-Ogievskiy
2023-04-19 22:52 ` [PATCH v2 1/4] block/meson.build: prefer positive condition for replication Vladimir Sementsov-Ogievskiy
2023-04-20  9:51   ` Juan Quintela
2023-04-20 13:47   ` Philippe Mathieu-Daudé
2023-04-19 22:52 ` [PATCH v2 2/4] scripts/qapi: allow optional experimental enum values Vladimir Sementsov-Ogievskiy
2023-04-20  9:55   ` Juan Quintela
2023-04-20 14:43   ` Eric Blake
2023-04-20 16:47     ` Vladimir Sementsov-Ogievskiy
2023-04-19 22:52 ` [PATCH v2 3/4] build: move COLO under CONFIG_REPLICATION Vladimir Sementsov-Ogievskiy
2023-04-20 10:03   ` Juan Quintela
2023-04-20 11:40     ` Vladimir Sementsov-Ogievskiy
2023-04-20 11:56       ` Juan Quintela
2023-04-20 21:08   ` Dr. David Alan Gilbert
2023-04-21  3:02   ` Zhang, Chen
2023-04-21  8:35     ` Vladimir Sementsov-Ogievskiy
2023-04-23  1:54       ` Zhang, Chen
2023-04-27 19:31         ` Vladimir Sementsov-Ogievskiy
2023-04-28  6:52           ` Juan Quintela
2023-04-19 22:52 ` [PATCH v2 4/4] configure: add --disable-colo-filters option Vladimir Sementsov-Ogievskiy
2023-04-20  9:09   ` Zhang, Chen
2023-04-20 10:09     ` Lukas Straub
2023-04-20 11:25     ` Vladimir Sementsov-Ogievskiy
2023-04-21  2:22       ` Zhang, Chen
2023-04-21  8:52         ` Vladimir Sementsov-Ogievskiy
2023-04-23  2:05           ` Zhang, Chen
2023-04-20  8:33 ` [PATCH v2 0/4] COLO: improve build options Lukas Straub
2023-04-20  8:39   ` Vladimir Sementsov-Ogievskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).