diff options
| author | Dr. David Alan Gilbert | 2019-06-20 20:47:02 +0200 |
|---|---|---|
| committer | Jason Wang | 2019-07-02 04:21:06 +0200 |
| commit | ef2fdbfb4d1e492d8e94aa1a92c7a40a3f96c2ac (patch) | |
| tree | 1c28a18e0b3df2e438a96e9b705d086acbf0ce49 /net/trace-events | |
| parent | net: remove unused get_str_sep() function (diff) | |
| download | qemu-ef2fdbfb4d1e492d8e94aa1a92c7a40a3f96c2ac.tar.gz qemu-ef2fdbfb4d1e492d8e94aa1a92c7a40a3f96c2ac.tar.xz qemu-ef2fdbfb4d1e492d8e94aa1a92c7a40a3f96c2ac.zip | |
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 a7937f3f3a..875ef2a0f3 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" |
