From: Lukas Straub <lukasstraub2@web.de>
To: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Cc: qemu-devel@nongnu.org, qemu-block@nongnu.org,
michael.roth@amd.com, armbru@redhat.com, eblake@redhat.com,
jasowang@redhat.com, quintela@redhat.com,
zhanghailiang@xfusion.com, philmd@linaro.org, thuth@redhat.com,
berrange@redhat.com, marcandre.lureau@redhat.com,
pbonzini@redhat.com, dave@treblig.org, hreitz@redhat.com,
kwolf@redhat.com, chen.zhang@intel.com, lizhijian@fujitsu.com
Subject: Re: [PATCH v2 0/4] COLO: improve build options
Date: Thu, 20 Apr 2023 10:33:04 +0200 [thread overview]
Message-ID: <20230420083304.24d7ecd4@gecko.fritz.box> (raw)
In-Reply-To: <20230419225232.508121-1-vsementsov@yandex-team.ru>
[-- Attachment #1: Type: text/plain, Size: 1856 bytes --]
On Thu, 20 Apr 2023 01:52:28 +0300
Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru> wrote:
> 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>
Hey,
This series is a good idea, and looks fine to me. Maybe you can remove
the #ifdef CONFIG_REPLICATION/#ifndef CONFIG_REPLICATION from
migration/colo.c too while you are at it.
Regards,
Lukas Straub
> 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
>
--
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2023-04-20 8:34 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Lukas Straub [this message]
2023-04-20 8:39 ` [PATCH v2 0/4] COLO: improve build options Vladimir Sementsov-Ogievskiy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230420083304.24d7ecd4@gecko.fritz.box \
--to=lukasstraub2@web.de \
--cc=armbru@redhat.com \
--cc=berrange@redhat.com \
--cc=chen.zhang@intel.com \
--cc=dave@treblig.org \
--cc=eblake@redhat.com \
--cc=hreitz@redhat.com \
--cc=jasowang@redhat.com \
--cc=kwolf@redhat.com \
--cc=lizhijian@fujitsu.com \
--cc=marcandre.lureau@redhat.com \
--cc=michael.roth@amd.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=thuth@redhat.com \
--cc=vsementsov@yandex-team.ru \
--cc=zhanghailiang@xfusion.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).