mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
net: Introduce announce timer
The 'announce timer' will be used by migration, and explicit requests for qemu to perform network announces. Based on the work by Germano Veit Michel <germano@redhat.com> and Vlad 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>
This commit is contained in:
parent
4875bf1406
commit
50510ea2c2
6 changed files with 125 additions and 0 deletions
|
@ -684,3 +684,26 @@
|
|||
##
|
||||
{ 'event': 'NIC_RX_FILTER_CHANGED',
|
||||
'data': { '*name': 'str', 'path': 'str' } }
|
||||
|
||||
##
|
||||
# @AnnounceParameters:
|
||||
#
|
||||
# Parameters for self-announce timers
|
||||
#
|
||||
# @initial: Initial delay (in ms) before sending the first GARP/RARP
|
||||
# announcement
|
||||
#
|
||||
# @max: Maximum delay (in ms) between GARP/RARP announcement packets
|
||||
#
|
||||
# @rounds: Number of self-announcement attempts
|
||||
#
|
||||
# @step: Delay increase (in ms) after each self-announcement attempt
|
||||
#
|
||||
# Since: 4.0
|
||||
##
|
||||
|
||||
{ 'struct': 'AnnounceParameters',
|
||||
'data': { 'initial': 'int',
|
||||
'max': 'int',
|
||||
'rounds': 'int',
|
||||
'step': 'int' } }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue