diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2019-06-20 19:47:02 +0100 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2019-07-02 10:21:06 +0800 |
commit | ef2fdbfb4d1e492d8e94aa1a92c7a40a3f96c2ac (patch) | |
tree | 1c28a18e0b3df2e438a96e9b705d086acbf0ce49 /net/trace-events | |
parent | 4623027d866d56677b70449837accf07df693f4d (diff) | |
download | qemu-ef2fdbfb4d1e492d8e94aa1a92c7a40a3f96c2ac.zip qemu-ef2fdbfb4d1e492d8e94aa1a92c7a40a3f96c2ac.tar.gz qemu-ef2fdbfb4d1e492d8e94aa1a92c7a40a3f96c2ac.tar.bz2 |
net/announce: Allow optional list of interfaces
Allow the caller to restrict the set of interfaces that announces are
sent on. The default is still to send on all interfaces.
e.g.
{ "execute": "announce-self", "arguments": { "initial": 50, "max": 550, "rounds": 5, "step": 50, "interfaces": ["vn2", "vn1"] } }
This doesn't affect the behaviour of migraiton announcments.
Note: There's still only one timer for the qmp command, so that
performing an 'announce-self' on one list of interfaces followed
by another 'announce-self' on another list will stop the announces
on the existing set.
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net/trace-events')
-rw-r--r-- | net/trace-events | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/trace-events b/net/trace-events index a7937f3..875ef2a 100644 --- a/net/trace-events +++ b/net/trace-events @@ -1,7 +1,7 @@ # See docs/devel/tracing.txt for syntax documentation. # announce.c -qemu_announce_self_iter(const char *mac) "%s" +qemu_announce_self_iter(const char *name, const char *mac, int skip) "%s:%s skip: %d" # vhost-user.c vhost_user_event(const char *chr, int event) "chr: %s got event: %d" |