The first allows the announce timer to announce on a subset of the
interfaces.
The second allows there to be multiple timers, each with their own
parameters (including the interface list).
Signed-off-by: Dr. David Alan Gilbert <address@hidden>
v4
Minor typo fixes
Expanded the test to check we can stop a running announce
Dr. David Alan Gilbert (5):
net/announce: Allow optional list of interfaces
net/announce: Add HMP optional interface list
net/announce: Add optional ID
net/announce: Add HMP optional ID
net/announce: Expand test for stopping self announce
hmp-commands.hx | 7 +++-
hmp.c | 41 +++++++++++++++++++-
hw/net/virtio-net.c | 4 +-
include/net/announce.h | 8 +++-
net/announce.c | 83 ++++++++++++++++++++++++++++++++++-------
net/trace-events | 3 +-
qapi/net.json | 16 ++++++--
tests/virtio-net-test.c | 57 ++++++++++++++++++++++++++--
8 files changed, 192 insertions(+), 27 deletions(-)