qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Thomas Huth <thuth@redhat.com>
Cc: Jason Wang <jasowang@redhat.com>,
	qemu-devel@nongnu.org, peter.maydell@linaro.org,
	Vladislav Yasevich <vyasevic@redhat.com>,
	"Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [Qemu-devel] [PULL 09/13] hmp: Add hmp_announce_self
Date: Wed, 27 Feb 2019 13:11:32 +0000	[thread overview]
Message-ID: <20190227131132.GG2602@work-vm> (raw)
In-Reply-To: <954908bc-c5fd-9073-e137-dd4057c792ea@redhat.com>

* Thomas Huth (thuth@redhat.com) wrote:
> On 22/02/2019 15.55, Jason Wang wrote:
> > From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
> > 
> > Add an HMP command to trigger self annocements.
> > Unlike the QMP command (which takes a set of parameters), the HMP
> > command reuses the set of parameters used for migration.
> > 
> > Signend-off-by: Vladislav Yasevich <vyasevic@redhat.com>
> > Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
> > Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
> > Signed-off-by: Jason Wang <jasowang@redhat.com>
> > ---
> >  hmp-commands.hx  | 14 ++++++++++++++
> >  hmp.c            |  5 +++++
> >  hmp.h            |  1 +
> >  tests/test-hmp.c |  1 +
> >  4 files changed, 21 insertions(+)
> > 
> > diff --git a/hmp-commands.hx b/hmp-commands.hx
> > index ba71558..9f812bc 100644
> > --- a/hmp-commands.hx
> > +++ b/hmp-commands.hx
> > @@ -931,6 +931,20 @@ stops because the size limit is reached.
> >  ETEXI
> >  
> >      {
> > +        .name       = "announce_self",
> > +        .args_type  = "",
> > +        .params     = "",
> > +        .help       = "Trigger GARP/RARP announcements",
> > +        .cmd        = hmp_announce_self,
> > +    },
> > +
> > +STEXI
> > +@item announce_self
> > +@findex announce_self
> > +Trigger GARP/RARP announcements.
> > +ETEXI
> 
> The help text is incredibly sparse. I doubt that the average user
> manages to find out the meaning of this command just by looking at this
> short information. Also, shouldn't you mention here that the parameters
> used for migration are re-used here, like in the patch description?
> Thus, could you please send a follow-up patch to increase that
> information here a little bit, please?

I've updated that to:
+STEXI
+@item announce_self
+@findex announce_self
+Trigger a round of GARP/RARP broadcasts; this is useful for explicitly updating the
+network infrastructure after a reconfiguration or some forms of migration.
+The timings of the round are set by the migration announce parameters.
 ETEXI

None of these pieces of help seem to be particularly deep.

Dave

>  Thanks,
>   Thomas
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

  reply	other threads:[~2019-02-27 13:20 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-22 14:55 [Qemu-devel] [PULL 00/13] Netpatches Jason Wang
2019-02-22 14:55 ` [Qemu-devel] [PULL 01/13] net/colo-compare.c: Remove duplicated code Jason Wang
2019-02-22 14:55 ` [Qemu-devel] [PULL 02/13] net: Introduce announce timer Jason Wang
2019-02-22 14:55 ` [Qemu-devel] [PULL 03/13] migration: Add announce parameters Jason Wang
2019-02-22 14:55 ` [Qemu-devel] [PULL 04/13] virtio-net: Switch to using announce timer Jason Wang
2019-02-22 14:55 ` [Qemu-devel] [PULL 05/13] migration: " Jason Wang
2019-02-22 14:55 ` [Qemu-devel] [PULL 06/13] net: Add a network device specific self-announcement ability Jason Wang
2019-02-22 14:55 ` [Qemu-devel] [PULL 07/13] virtio-net: Allow qemu_announce_self to trigger virtio announcements Jason Wang
2019-02-22 14:55 ` [Qemu-devel] [PULL 08/13] qmp: Add announce-self command Jason Wang
2019-02-22 14:55 ` [Qemu-devel] [PULL 09/13] hmp: Add hmp_announce_self Jason Wang
2019-02-27  8:28   ` Thomas Huth
2019-02-27 13:11     ` Dr. David Alan Gilbert [this message]
2019-02-22 14:55 ` [Qemu-devel] [PULL 10/13] tests: Add a test for qemu self announcements Jason Wang
2019-02-27  8:21   ` Thomas Huth
2019-02-27 12:58     ` Dr. David Alan Gilbert
2019-02-22 14:55 ` [Qemu-devel] [PULL 11/13] net: netmap: small improvements netmap_send() Jason Wang
2019-02-22 14:55 ` [Qemu-devel] [PULL 12/13] net: netmap: simplify netmap_receive() Jason Wang
2019-02-22 14:55 ` [Qemu-devel] [PULL 13/13] net: netmap: improve netmap_receive_iov() Jason Wang
2019-02-26 16:06 ` [Qemu-devel] [PULL 00/13] Netpatches Peter Maydell
2019-02-26 19:50   ` Dr. David Alan Gilbert

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=20190227131132.GG2602@work-vm \
    --to=dgilbert@redhat.com \
    --cc=jasowang@redhat.com \
    --cc=mst@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    --cc=vyasevic@redhat.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).