diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2019-06-20 19:47:03 +0100 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2019-07-02 10:21:06 +0800 |
commit | 08528271152ee76cf860168b41109e2a661e6260 (patch) | |
tree | d621c49a1d6e47eaa16e3ba899a94424971fa1c7 /hmp-commands.hx | |
parent | ef2fdbfb4d1e492d8e94aa1a92c7a40a3f96c2ac (diff) | |
download | qemu-08528271152ee76cf860168b41109e2a661e6260.zip qemu-08528271152ee76cf860168b41109e2a661e6260.tar.gz qemu-08528271152ee76cf860168b41109e2a661e6260.tar.bz2 |
net/announce: Add HMP optional interface list
Add the optional interface list to the HMP command.
i.e.
All interfaces
announce_self
Just the named interfaces:
announce_self vn1,vn2
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r-- | hmp-commands.hx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx index 8b7aec3..d42c09f 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -955,8 +955,8 @@ ETEXI { .name = "announce_self", - .args_type = "", - .params = "", + .args_type = "interfaces:s?", + .params = "[interfaces]", .help = "Trigger GARP/RARP announcements", .cmd = hmp_announce_self, }, @@ -967,6 +967,8 @@ STEXI 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. +An optional comma separated @var{interfaces} list restricts the announce to the +named set of interfaces. ETEXI { |