From: Markus Armbruster <armbru@redhat.com>
To: Steve Sistare <steven.sistare@oracle.com>
Cc: qemu-devel@nongnu.org, Peter Xu <peterx@redhat.com>,
Fabiano Rosas <farosas@suse.de>,
Leonardo Bras <leobras@redhat.com>
Subject: Re: [PATCH V1] migration: export fewer options
Date: Mon, 26 Feb 2024 08:40:20 +0100 [thread overview]
Message-ID: <87cysjllln.fsf@pond.sub.org> (raw)
In-Reply-To: <1708708404-197951-1-git-send-email-steven.sistare@oracle.com> (Steve Sistare's message of "Fri, 23 Feb 2024 09:13:24 -0800")
Steve Sistare <steven.sistare@oracle.com> writes:
> A small number of migration options are accessed by migration clients,
> but to see them clients must include all of options.h, which is mostly
> for migration core code. migrate_mode() in particular will be needed by
> multiple clients.
>
> Refactor the option declarations so clients can see the necessary few via
> misc.h, which already exports a portion of the client API.
>
> Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
> ---
> I suggest that eventually we should define a single file migration/client.h
> which exports everything needed by the simpler clients: blockers, notifiers,
> options, cpr, and state accessors.
> ---
> ---
> hw/vfio/migration.c | 1 -
> hw/virtio/virtio-balloon.c | 1 -
> include/migration/misc.h | 1 +
> include/migration/options-pub.h | 24 ++++++++++++++++++++++++
> migration/options.h | 6 +-----
Unusual naming. We have zero headers named -pub.h or -public.h, and
dozens named like -int.h or -internal.h. Please stick to the existing
convention.
[...]
next prev parent reply other threads:[~2024-02-26 7:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-23 17:13 [PATCH V1] migration: export fewer options Steve Sistare
2024-02-26 2:40 ` Peter Xu
2024-02-26 16:45 ` Steven Sistare
2024-02-26 7:40 ` Markus Armbruster [this message]
2024-02-26 14:41 ` Steven Sistare
2024-02-27 8:08 ` Peter Xu
2024-02-27 13:15 ` Steven Sistare
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=87cysjllln.fsf@pond.sub.org \
--to=armbru@redhat.com \
--cc=farosas@suse.de \
--cc=leobras@redhat.com \
--cc=peterx@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=steven.sistare@oracle.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.